Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
51 user(s) are online (43 user(s) are browsing Forums)

Members: 1
Guests: 50

Nuder_Try, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2) 3 4 5 »


Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@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?

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Joined:
2007/2/27 10:47
From Gravity well
Posts: 653
It's completely normal to only have 720p available. I don't know how that works exactly, but established channels have the alternatives up.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
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.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2017/5/18 10:12
From Audruicq, France
Posts: 33
Thank you, works nicely.

I've hadded them to Oddyssey contextual menu, to play videos directly from their websites.

Regards,
Petrol

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@Petrol
Thanks for your kind words. I am glad it works nice for you.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
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

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1003
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 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 589
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.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@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.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1003
@walkero

I tested many live streams and each one gives me the same error.

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@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.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1003
@walkero

Indeed, those are working. Thanks for the explanation.

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
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.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 412
@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):
...
        print 
"%s" % ('-'*200)
        if 
streamList:
            for 
stream in streamList['videos']:
                
resolutions ', '.join(stream['resolutions'])
                print 
"%-36st %-20st %-50st %s" % (stream['url'], stream['recorded_at'], resolutionscmnHandler.uniStrip(stream['title']))
        else:
            print 
"Channel '%s' doesn't exist." % (channelName)
...


Edited by jabirulo on 2019/9/20 12:18:05
Edited by jabirulo on 2019/9/20 12:20:00
Edited by jabirulo on 2019/9/20 12:28:05
Edited by jabirulo on 2019/9/20 12:31:55
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2011/6/3 12:49
Posts: 240
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



   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@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.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1003
@thellier

SmTube does't do the job for you ?

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2018/1/4 10:56
From Italy
Posts: 169
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

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 515
@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?

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2018/1/4 10:56
From Italy
Posts: 169
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!

   Report Go to top


« 1 (2) 3 4 5 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project