|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/8/28 8:54
#21 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@K-L
Weird. I didn't see any difference on my tests.Unless the 480p was not available on the stream you choose and changed to a higher quality. Can you please check that with other streams? |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/8/28 12:51
#22 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2007/2/27 10:47 From Gravity well
Posts: 727
|
It's completely normal to only have 720p available. I don't know how that works exactly, but established channels have the alternatives up.
|
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/8/28 15:15
#23 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
The thing is that Mixer.com provides only 720p for recorded videos, but various resolutions on Live videos. twitch.tv provides more resolutions on recorded videos, as well.
With the weighted quality list that I use in my scripts, you can set which will be the first resolution you would like to have. If this is not supported it goes to the next one. If none of the small resolution exist, then it goes to the high ones 720p and 1080p. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/8/31 9:59
#24 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/5/18 11:12 From Audruicq, France
Posts: 89
|
Thank you, works nicely.
I've hadded them to Oddyssey contextual menu, to play videos directly from their websites. Regards, Petrol |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/8/31 13:45
#25 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@Petrol
Thanks for your kind words. I am glad it works nice for you. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/4 9:28
#26 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
Yesterday released v1.2 at OS4Depot with the following changes.
v1.2 * Vimeo.com script added * Dailymotion.com script added * Skaitv.gr script added * simplem3u8 parser updated to support URLs starting with "../" * Added links in the AmigaGuide file, that use URLOpen * Added the silence parameter, that prevents the script to output anything, except the errors or the results of a search * Documentation updated * Removed version per script * Added Top Games list in twitch.py script. This returns the 50 Top Games based on the number of viewers. * Added Top Streams list in twitch.py script. This returns the 50 Top Streams based on the number of viewers. * Increased game search results list to 50 items in twitch.py script. You can download it from: http://os4depot.net/?function=showfil ... video/misc/aiostreams.lha https://github.com/walkero-gr/aiostreams/releases/tag/v1.2 If you have any issues or proposals, please use https://github.com/walkero-gr/aiostreams/issues |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/13 20:06
#27 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
Tried the latest version with Twitch :
12.Données:Video/aiostreams> twitch.py -u https://www.twitch.tv/pupillo1992 aiostreams v1.2 (2019-09-03) - Developed by George Sokianos Traceback (most recent call last): File "twitch.py", line 327, in <module> main(sys.argv[1:]) File "twitch.py", line 279, in main uri = helpers.getPrefferedVideoURL(m3u8Response) File "twitch.py", line 190, in getPrefferedVideoURL if (quality == playlists[idx]['video']): KeyError: 'video' |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/14 7:29
#28 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2013/10/17 16:21 From Hungary
Posts: 650
|
This is neat! Any chance of DLive support? Right now it's not the most popular streaming site, but Pewdiepie uses it, so I expect it to grow eventually.
|
|
_________________
This is just like television, only you can see much further. |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/14 15:50
#29 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@K-L
Thank you for testing my scripts. It seems that the API didn't return info for the video, as it should. I need to replicate it. Do you know how often they stream? @BSzili Added in my todo list and I will check it this week to see if it is possible to be used. Thank you for your request. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/15 3:03
#30 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@walkero
I tested many live streams and each one gives me the same error. |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/15 10:56
#31 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@K-L
I just tested it with the 5 top streams available and it seems it works just fine. So, it doesn't seem to be a generic problem. Please, try to get a list of the Top Streams with: twitch.py -ts Then, please try to play some of the top ones, and inform me if it works. There is a problem, where I am looking to find a solution, but it is not that simple, where the script stops working when in the title on the stream there is at least one unicode character. Unfortunately, for now these streams are not able to work with my script. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/16 8:08
#32 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@walkero
Indeed, those are working. Thanks for the explanation. ![]() |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/20 11:04
#33 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
Hello to all. A new version of aiostreams is released, v1.3, and you can find it at https://github.com/walkero-gr/aiostreams/releases/tag/v1.3
Later today I will upload it at OS4Depot as well. @K-L I did a fix on twitch script that will make it run on the streams you had issues, I hope. Please try it. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/20 12:59
#34 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2007/2/6 13:57 From Donostia (SPAIN)
Posts: 622
|
@walkero
Is there a way to exit nicely when you type a non existant "twitch_channel" with -CV option? FOOBAR234 channel doesn't exists: #twitch.py -u https://www.twitch.tv/foobar234 -cv aiostreams v1.3 (2019-09-20) - Developed by George Sokianos HTTP Error 404: Not Found URL Recorded at Available resolutions Title -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "twitch.py", line 323, in <module> main(sys.argv[1:])z File "twitch.py", line 248, in main for stream in streamList['videos']: TypeError: 'NoneType' object is unsubscriptable # Very nice/usefull scripts!!! EDIT: maybe something like this (twitch.py:247):
...
Edited by jabirulo on 2019/9/20 13:18:05
Edited by jabirulo on 2019/9/20 13:20:00 Edited by jabirulo on 2019/9/20 13:28:05 Edited by jabirulo on 2019/9/20 13:31:55 |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/20 15:03
#35 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2011/6/3 13:49 Posts: 269
|
Hello
Nothing related but your program make me think about YoutubeMp3 that allow to get MP3 from YouTube video clips Exemple: https://youtubemp3.today/?url=https%3A ... 2Fwatch%3Fv%3DMtMQsZn8GbY Would be nice to have an Amiga tool that make a search for youtube clips for (say) "Michael Jackson" then give you a list of songs ready to download/play as MP3 |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/20 15:41
#36 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@jabirulo
Actually, I need to put more checks to have some good exits, as you mentioned. The previous weeks I wanted to add as many online platforms as I could, and use daily, as well as some requests. After that, and based on the available time, I will add more tests. But, since the scripts are open sourced at github, anyone can contribute with a pull request. But be sure that I have that in mind and I will work on fixing issues like that. Thanks for mentioning it. @thellier There is a way to stream only audio from YouTube, but it is not currently supported by my script. The download of videos/audio is unfortunately out of the scope of these scripts. But I will check the website you mentioned. Thank you for your comment. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/20 18:22
#37 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@thellier
SmTube does't do the job for you ? |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/22 18:06
#38 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 364
|
Hi walkero,
Thanks for your application I have tried version 1.3. It works very well with Emotion Player but it's a bit slow. While it works very well with MickjT-player it is very fast but after a few moments it interrupts the video, I think it is an audio problem the options used are -vo sdl and -ao sdl At the moment I have only tried twitch.tv.py I remind you that I use Winuae with AmigaOS 4.1FE maybe this can help. If there is no solution, thank you anyway. If you need the log or my configuration file I will gladly post it. Thanks. here the video if it can help https://youtu.be/O7nxFzfsEa8 |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/22 19:10
#39 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 780
|
@white
Thank you very much for trying my scripts. Those scripts help to get a playable video url, which send to the default player you set in the config file. From that point, it has to do with the players. I can't do anything on the way they play the videos. I am curious, how did you set the Emotion player to work with the videos? And also, you wrote that you used only twitch.py script but the link you provided at the end is a youtube video. Am I missing something? @all Can you please tell me your opinion on the documentation? Is it easy to understand? Would you need any extra information? |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/22 19:36
#40 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 364
|
Hi walkero,
I copied the live link for convenience. To test your application this is the configuration file for emotion player: #!python autoplay = True verbose = True #vPlayer = "APPDIR:Work:MickjT-MPlayer/mplayer-nonaltivec" #vPlayerArgs = "-vo sdl -ao sdl" sPlayer = "APPDIR:Work:Player/Emotion/Emotion" sPlayerArgs = "" # sPlayer = "/Apps/VLC.app/Contents/MacOS/VLC" # sPlayerArgs = "-f --no-video-title-show" this with winuae works, I don't have a real machine unfortunately ![]() I read the documentation very quickly just to see if it worked. I have not yet figured out how to get the list of live shows, then I will look at everything with patience to understand how it works. I really appreciate every suggestion, thanks! |
|