Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 1
Guests: 142

ktadd, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 (4) 5 6 7 8 »
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
here the test video, I hope it is useful
https://youtu.be/wvqDG8dRFN0

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


See User information
Did you check the same links and play them with ffplay?

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
@Petrol

Thank you very much for your rexx script. Keep up the good work.

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
@walkero

Thank you!

@white

I've added the direct video mode to play only video with full path (from my ftp hard drive fe).

In your video you spoof as a mobile device and url is slightly different.
In my script, I've added these two lines in the url test :

WHEN (substr(url,1,19) = "https://m.twitch.tv"THEN website "Twitch"
WHEN (substr(url,1,16) = "https://youtu.be"THEN website "Youtube"

the second one was to be abble to read shotened link from youtube like yours in the previous post.

There's also a cfg.py script with aiostream archive to set players.

Regards,

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
@Petrol
I have tried many things,
At the moment Emotion-Player works with the script arexx you created, but at the moment it opens the video of the link and is no longer displayed "unrecognized format" but the video does not start.
Maybe a correction is needed to open the link correctly with Odyssey, I have no idea how to do it.
While ffplay doesn't work for me with the arexx script.

These are the changes I made following your suggestions with cfg.py
#! Python
autoplay = True
verbose = True
#vPlayer = "APPDIR: Work: Player / Emotion / Emotion"
#vPlayerArgs = ""
sPlayer = "APPDIR: Work: Player / Emotion / Emotion"
sPlayerArgs = ""
# sPlayer = "/Apps/VLC.app/Contents/MacOS/VLC"
# sPlayerArgs = "-f --no-video-title-show"

This is instead the script arexx:
/ * REXX Play_video_menu * /
options results
parse arg url
url = strip (strip (url), 'B', ' "')

/ * Test url * /
SELECT
WHEN (substr (url, 1.16) = "https://www.youtube.be") THEN website = "Youtube"
WHEN (substr (url, 1.19) = "https://www.m.twitch.tv") THEN website = "Twitch"
WHEN (substr (url, 1.17) = "https://mixer.com") THEN website = "Mixer"
WHEN (substr (url, 1.17) = "https://vimeo.com") THEN website = "Vimeo"
WHEN (substr (url, 1.27) = "https://www.dailymotion.com") THEN website = "Dailymotion"
WHEN (substr (url, 1.20) = "http://www.skaitv.gr") THEN website = "Skaitv"
OTHERWISE website = "Other"
END

/ * Notify Result * /
address REPORT 'REGISTERAPP APP = NOTIFYTEST'
SELECT
WHEN website = "Youtube" THEN address I REBORN 'REBURN APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Youtube.png" TITLE = "Youtube Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Twitch" THEN address I REBORN 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Twitch.png" TITLE = "Twitch Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Mixer" THEN address I REBORN 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Mixer.png" TITLE = "Video Mixer" IMGVALIGN = 1 Now playing!'
WHEN website = "Vimeo" THEN address I REBORN 'REBOOK APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Vimeo.png" TITLE = "Vimeo Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Dailymotion" THEN address I REBORN 'THINK APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Dailymotion.png" TITLE = "Dailymotion Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Skaitv" THEN address I REBAY 'REBORN APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Skaitv.png" TITLE = "SkaiTV Video" IMGVALIGN = 1 Now playing!'
OTHERWISE address RINKING 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Other.png" TITLE = "Direct Video" IMGVALIGN = 1 Now playing!'
END

'UNREGISTER APP = NOTIFYTEST'

/ * Lauch script * /

SELECT
WHEN website = "Youtube" THEN address command '[PATH OF THE SCRIPT] YT.rexx' url 'ssl html odyssey autoplay silent'
WHEN website = "Twitch" THEN address command 'C: Python [PATH OF THE SCRIPT] twitch.py ​​-shh -u' url
WHEN website = "Mixer" THEN address command 'C: python [PATH OF THE SCRIPT] mixer.py -shh -u' url
WHEN website = "Vimeo" THEN address command 'C: python [PATH OF THE SCRIPT] vimeo.py -shh -u' url
WHEN website = "Dailymotion" THEN address command 'C: python [PATH OF THE SCRIPT] dailymotion.py -shh -u' url
WHEN website = "Skaitv" THEN address command 'C: python [PATH OF THE SCRIPT] skaitv.py -shh -u' url
OTHERWISE address command 'Work: Player / Emotion / Emotion'



END


#WHEN (substr (url, 1.19) = "https://m.twitch.tv") THEN website = "Twitch"
#WHEN (substr (url, 1,16) = "https://youtu.be") THEN website = "Youtube"

From shell using it normally as described in walkero's guide everything works ffplay, emotion-player.

I hope it's a step forward.
It seems that now I can't find the url of the video or simply and able to open the emotion-player but the video is not played.

separate note:

the following string does not work this way
WHEN (substr (url, 1.19) = "https://m.twitch.tv") THEN website = "Twitch"

While this works
WHEN (substr (url, 1.19) = "https://www.m.twitch.tv") THEN website = "Twitch"

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
here a short video, maybe it's more useful, thanks!
https://youtu.be/2Oqpk8IEHE4

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


See User information
@all
I just uploaded a new version of aiostreams v1.4, with some fixes and a testing version of a new script supporting dlive.tv. This one works just fine on other systems, but not under AmigaOS 4. A SSL error show up, which never happened with all the other websites before, with a message:
<urlopen error (1, 'error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure')>

Please, try this on your machine and tell me if this happens to you as well. I am still trying to find a solution for that issue.

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
It happens to me too. Same error about SSL3 thing.

Go to top
Re: Streaming twitch.tv on AmigaOS 4.1
Quite a regular
Quite a regular


See User information
@walkero
where can I find the 1.4 version
on osdepot is not available?
thanks.

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


See User information
@white

You're still trying to parse to Emotion player an URL that did'nt point to a video file. Copy this script:

/* REXX Play_video_menu */ 
options results 
parse arg url  
url
=strip(strip(url),'B','"'

/*Test url*/ 
SELECT 
    WHEN 
(substr(url,1,23) = "https://www.youtube.com") THEN website = "Youtube"
    
WHEN (substr(url,1,16) = "https://youtu.be"THEN website "Youtube"
    WHEN (substr(url,1,21) = "https://www.twitch.tv") THEN website = "Twitch"
    
WHEN (substr(url,1,19) = "https://m.twitch.tv"THEN website "Twitch"
    WHEN (substr(url,1,17) = "https://mixer.com") THEN website = "Mixer" 
    WHEN (substr(url,1,17) = "https://vimeo.com") THEN website = "Vimeo" 
    WHEN (substr(url,1,27) = "https://www.dailymotion.com") THEN website = "Dailymotion" 
    WHEN (substr(url,1,20) = "http://www.skaitv.gr") THEN website = "Skaitv"
    
WHEN (substr(url,1,16) = "https://dlive.tv"THEN website "Dlivetv"
    OTHERWISE website = "Other" 
END 

/*Notify Result*/ 
address RINGHIO 'REGISTERAPP APP=NOTIFYTEST' 
SELECT 
    WHEN website 
= "Youtube" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Youtube.png" TITLE="Youtube Video" IMGVALIGN=1 Now playing!' 
    WHEN website = "Twitch" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Twitch.png" TITLE="Twitch Video" IMGVALIGN=1 Now playing!' 
    WHEN website = "Mixer" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Mixer.png" TITLE="Mixer Video" IMGVALIGN=1 Now playing!' 
    WHEN website = "Vimeo" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Vimeo.png" TITLE="Vimeo Video" IMGVALIGN=1 Now playing!' 
    WHEN website = "Dailymotion" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Dailymotion.png" TITLE="Dailymotion Video" IMGVALIGN=1 Now playing!' 
    WHEN website = "Skaitv" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Skaitv.png" TITLE="SkaiTV Video" IMGVALIGN=1 Now playing!'
    
WHEN website = "Dlivetv" THEN address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Dlivetv.png" TITLE="DliveTV Video" IMGVALIGN=1 Now playing!' 
    OTHERWISE address RINGHIO 'RINGHIO APP=NOTIFYTEST SCREEN="FRONT" PRI=9 IMG="[PATH OF THE ICON]Other.png" TITLE="Direct Video" IMGVALIGN=1 Now playing!' 
END 

'UNREGISTER APP=NOTIFYTEST' 

/*Lauch script*/ 

SELECT 
    WHEN website 
= "Youtube" THEN address command '[PATH OF THE SCRIPT]YT.rexx' url 'ssl html odyssey autoplay silent' 
    WHEN website = "Twitch" THEN address command 'C:Python [PATH OF THE SCRIPT]twitch.py -shh -u ' url 
    WHEN website 
= "Mixer" THEN address command 'C:python [PATH OF THE SCRIPT]mixer.py -shh -u ' url 
    WHEN website 
= "Vimeo" THEN address command 'C:python [PATH OF THE SCRIPT]vimeo.py -shh -u ' url 
    WHEN website 
= "Dailymotion" THEN address command 'C:python [PATH OF THE SCRIPT]dailymotion.py -shh -u ' url 
    WHEN website 
= "Skaitv" THEN address command 'C:python [PATH OF THE SCRIPT]skaitv.py -shh -u ' url
    WHEN website 
"Dlivetv" THEN address command 'C:python [PATH OF THE SCRIPT]Dlive.py -shh -u ' url
    OTHERWISE address command 
'C:mplayer -cache 8192 ' url 
END


Also Edit the script and replace [PATH OF THE SCRIPT] with the correct path of yours (ram:script/ for example) with out the bracket.
Mine look like this one :
WHEN website "Dlivetv" THEN address command 'C:python Work:Internet/Odyssey/Plugins/Dlive.py -shh -u ' url


Same thing for the Ringhio icons for the different streams. Mines are small png picture placed in a icones drawer. My path looks like this:
Work:Internet/Odyssey/Plugins/Icones/Youtube.png for youtube icons.

Regards,

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


See User information
@white
You can find it at the Upload list
http://os4depot.net/index.php?function=uploads

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
@Thread

With 1.4, Emotion doesn't work anymore (I mean when launched directly from CLI) ?

--
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
@walkero
thanks for the new version
at the moment I'm using version 1.3 now the emotion player works perfectly with odyssey browser.
Although the shell remains comfortable for its speed and for and a wide choice of videos.

@Petrol
Thank you very much, now I understand the use of the script, thanks again.

@Thread
I have to try version 1.4, at the moment it doesn't seem to work emotion-player like with version 1.3, but I probably have to reconfigure the scripts.

Thank you all!

here a short video with Odyssey that works with aiostreams using 360p30 emotion-player
https://youtu.be/oNcRytcsfWU

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


See User information
@white

Did you manage to get Emotion working again ?

--
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
@K-L
unfortunately with version 1.4 emotion-player does not work
the problem reoccurs opens the player "format not recognized"
Tests were performed only from the shell without using the arexx script.
Only work ffplay slowly.

aiostreams 1.3 works perfectly with the shell and with odyssey with emotion-player

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


See User information
@white

Thanks for your answer.

Do you still have 1.3 archive ? I replaced this 1.3 with the 1.4 :(

Or I could ask Walkero if he still has 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
Hello guys,
Thank you very much for using my scripts. I am really happy they are useful.

Can you give me an example of a video working with Emotion, so that I can fix the problem v1.4 introduced?

@K-L
Older versions can be found at the github
https://github.com/walkero-gr/aiostreams/releases

@all
I am currently working on the next version which I hope to release next week. Any proposals and ideas are welcome.

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

Thanks for the links.

With 1.3 any Twitch streams works with Emotion. With 1.4, we get "No video format supported"

Something seems to have changed in URL retrieving.

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


See User information
I will check it and will get back to you guys.

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
@walkero
Thank you for a future update of your program
A "GUI" like SMTube with the supported live channels would be interesting.
the arexx script created by "Petrol" works very well.
I don't know the difficulties for creating a "GUI" for aiostreams and what it requires.
But it would be interesting is probably light.

@K-L
Well, I thought that version 1.4 only gave problems on my configuration.

Go to top

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

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project