Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
60 user(s) are online (38 user(s) are browsing Forums)

Members: 1
Guests: 59

AmigaPapst, more...

Headlines

 
  Register To Post  

(1) 2 3 4 ... 8 »
Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
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.

Resized Image


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.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
I would like such an application, for sure.

It would be great if Emotion could be used for playing (MPlayer would be fine too).

Nice work !

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Just popping in


See User information
Looking good. Thank you in advance.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Just popping in


See User information
Watching twitch is one of the things I still use my windows pc for so this would be very useful.
Thanks for making it, look forward to trying it.


AmigaOne X5000
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
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.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Thanks but I get this error whatever I try to do : <urlopen error unknown url type: https>


--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
@K-L

Sorry to hear that you have issues with that.

Would you like to tell me which version of AmigaOS you have? What is the command you used?

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@walkero

Thanks.

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

<urlopen error unknown url type: https>


--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@K-L

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.


AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
@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.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Thanks ! Working !

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
The script for Mixer.com is almost ready. This will be included in the next release, soon.

If you haven't try the aiostreams yet, check OS4Depot or my github at https://github.com/walkero-gr/aiostreams/releases

Resized Image


Edited by walkero on 2019/8/25 21:01:33
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@Thread

On X1000, I'm using this parameters :

#!python
autoplay = True
verbose = False
vPlayer = "appdir:mplayer-altivec"
vPlayerArgs = "-really-quiet -fixed-vo -forceidx -framedrop -fps 30 -vo comp_yuv2 -ao sdl -autosync 30 -cache 8192"
sPlayer = "APPDIR:ffplay"
sPlayerArgs = "-loglevel quiet -infbuf -skip_frame noref -sync audio"

twitchQualityWeight = [
"480p30",
"720p30",
"360p30",
"160p30",
"720p60",
"chunked",
"audio_only"


Important for ffplay : -sync audio (it avoids sound hick ups).

For Mplayer, it's the best I found to avoid sound hick-ups (there are still some but far less than without these options).

This config applies only for X1000 (and maybe X5000).

I wish I could use Emotion for everything.

@Walkero

Would it be possible to have different parametrers for live streaming and recorded streams ?

MPlayer can cope with 720p30 videos whereas ffplay (which would really benefit of a -compyuv2 option too) can only cope with 480p30 videos.

Multi-edited to improve Mplayer options


Edited by K-L on 2019/8/24 22:10:37
Edited by K-L on 2019/8/24 22:49:16
Edited by K-L on 2019/8/24 23:01:06
--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
@K-L

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

Resized Image

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@walkero

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).

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
That would be great. Let's create a request thread for that.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
Hello guys,
aiostreams v1.1 is available.I will upload it later today at OS4Depot as well, but if you want to test it, you can download it from https://github.com/walkero-gr/aiostreams/releases

In this release the following changed:
* Mixer.com script added
* Cleared a lot of code in twitch.py script
* Documentation updated

In the cfg.py file the only changes are the twitch and mixer weighted lists for the quality. The rest are the same.

Have fun and please provide your feedback.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Just popping in


See User information
@walker

nice work! Thanks for building this.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


See User information
@tekmage
You are welcome. Hope it is useful and people are going to use these scripts. I know that I will. :D

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@walkero

Thanks ! Mixer streams seem heavier than Twitch's. My X1000 struggles to cope with 480p Mixer streams.

--
AmigaONE X1000 and Radeon RX 560
Go to top

  Register To Post
(1) 2 3 4 ... 8 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project