Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
143 user(s) are online (142 user(s) are browsing Forums)

Members: 0
Guests: 143

more...

Support us!

Headlines

 
  Register To Post  

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


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
It's completely normal to only have 720p available. I don't know how that works exactly, but established channels have the alternatives up.

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


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Just popping in


See User information
Thank you, works nicely.

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

Regards,
Petrol

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


See User information
@Petrol
Thanks for your kind words. I am glad it works nice for you.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
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 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
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.
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Site Builder


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
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

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

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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
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

Indeed, those are working. Thanks for the explanation.

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


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
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

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 
"%-36s\t %-20s\t %-50s\t %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 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
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Not too shy to talk


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



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


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@thellier

SmTube does't do the job for you ?

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


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

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


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

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


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

Go to top

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

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project