I am working on a nice script that helps you stream videos and channels from twtch.tv on AmigaOS 4, just by using the channel/video URL.
This can also be used from the browser, although the website doesn't render OK in any of our available browsers. Extended usage of Javascript, I guess.
You will be able to select on the fly video quality, or you can use a weighted list with preferred resolution qualities, where first found first served.
Have a look at the following screenshot.
More networks will follow like Mixer, Vimeo and others.
Currently I am adding some final touches and documentation and it will be released soon. I am looking forward to listen your comments/requests.
Hello again to everyone. The first release of aiostreams is at the Uploads queue of OS4Depot. Currently only Twitch.tv is supported, but more will come. Looking forward to read your experience with it and your ideas.
In the archive there is an amigaguide where you can find how it is used. If you have any question don't hesitate to contact me.
I'm using the latest amigaOS 4.1 FE release (with the latest update, NOT beta).
I tried to search for a game :
14.Données:Video/aiostreams> twitch.py -s "Dota 2" twitch.py v1.0 - Created by George Sokianos
<urlopen error unknown url type: https> Channel name Viewers Type Language Channel URL Game name - Channel status -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "twitch.py", line 337, in <module> main(sys.argv[1:]) File "twitch.py", line 315, in main for stream in streamList['streams']: TypeError: 'NoneType' object is unsubscriptable
I then tried a channel :
14.Données:Video/aiostreams> twitch.py -u https://www.twitch.tv/solary twitch.py v1.0 - Created by George Sokianos
Thanks Walkero, unfortunately, I have exactly the same issue as K-L. AmigaOS4.1FE.
Edit, fixed:
Update your pythonssl from os4depot Check that your mplayer Appdir entry is correct. I use Mplayer-altivec so had to edit the the aiostream cfg.py file accordingly.
@ddni Oh, yeah. I think pythonssl is necessary. It seems I have that in my system because some other software requested it, and I forgot about it completely. Thanks for mentioning it. I will add it to the documentation.
@K-L Try the above and please inform me if it works for you.
The live streams use the splayer config, and the for the recorded the vplayer config. I use mplayer for the recorded and ffplay for the live streams. You can set them as you wish, but for the live streams you better use ffplay, as I had issues with mplayer.
and one more screenshot from the upcoming v1.1, with Mixer.com support. While I was watching Ninja on Mixer.com, after he left Twitch.tv. He doesn't believe it either. :D
Yes, we should forget about Mplayer with your scripts since the -cache option doesn't work for this kind of stream so you end up with lags and sound hickups.
I stick with ffplay (someone should really add comp_yuv2 to it).