Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
22 user(s) are online (2 user(s) are browsing Articles)

Members: 0
Guests: 22

more...

Support us!

Headlines

Articles » Tutorials » Software »  Video Streaming over (Odyssey / IBrowse) with YT.REXX
Video Streaming over (Odyssey / IBrowse) with YT.REXX
Published by Maijestro on 07-Oct-2024 15:50 (59 reads)

Requirements:

YT.REXX https://os4depot.net/?function=showfile&file=video/misc/yt.lha

Emotion as full version or MPlayer/FFMPEG as OpenSource variant.

MPlayer https://os4depot.net/?function=showfile&file=video/play/mplayer.lha

FFMPEG https://os4depot.net/?function=showfil ... =video/convert/ffmpeg.lha



YT.Rexx directly via Odyssey

Odyssey---Settings---OWB--Context menu...

- Category: “Link”
- Label:YT (or whatever you would like to enter there)
- Action: c:rx SYS:Path/to/YT.rexx %l silent autoplay (Example:YT.rexx is located in AmigaOs4.1:Utilities/YT/YT.rexx) So it is also entered as “c:rx AmigaOs4.1:Utilities/YT/YT.rexx”.

Basically, that's all you need, of course the media player of your choice to which the YouTube stream is to be sent is still missing.

For users who prefer free alternatives “OpenSource Software” MPlayer and FFPLAY can be used, both can be downloaded from OS4depot.

Note: Videos are not accelerated via the graphics card, which leads to increased CPU utilization.

For accelerated video output and higher resolutions, we can use Emotion with RX graphics cards on our machines, which works great.

Finally, let's customize the YT.cfg located in the YT directory. YT.cfg is configured by default for MPlayer and FFPLAY via “APPDIR”, a function of AmigaOs4.1 that can remember paths of programs and tools.

PathMP="APPDIR:mplayer"                 /* Full path to MPlayer executable */
PathFP="APPDIR:ffplay"                  /* Full path to FFplay executable  */
ArgsMP="-quiet -hardframedrop *>NIL:"      /* Optional parameters for mplayer */
ArgsFP="-loglevel quiet -framedrop -infbuf"        /* Optional parameters for ffplay  */ */


Just run the MPlayer/FFPLAY(exe) once and YT.rexx will find the path where MPlayer and FFPLAY are located.

For streaming via Emotion you should enter the following values, you can also use “APPDIR” here.

PathMP="APPDIR:emotion"                 /* Full path to MPlayer executable */
PathFP="APPDIR:ffplay"                  /* Full path to FFplay executable  */
ArgsMP=""      /* Optional parameters for mplayer */
ArgsFP="-loglevel quiet -framedrop -infbuf"        /* Optional parameters for ffplay  */*/


In addition, the PlayMode "1" must be changed to 3.

PlayMode="3"   /* See documentation for available playback modes    1-3    */
               /*      This option only applies to HLS links               */


Finally, you should adjust "TagOrder" to always use the best possible streaming quality of 1080p.

TagOrder="96 95 93 92 22 18 232 230 229"      /* 360p                            */
                                        /* 720p/360p/240p (HLS / Live HLS) */
                                        /* 720p/360p/240p (IOS HLS)        */


Since Odyssey has unfortunately lost the ability to access YouTube.com or the mobile website directly, we have to use alternatives. “https://aiostreams.amiga-projects.net/invidious” or "https://invidious.fdn.fr/" is one of them that works perfectly. With the configuration via Emotion, all YouTube streams will be displayed in 1080p from now on.

YT.Rexx directly via iBrowse

iBrowse---Settings---Fab menus

- go to the link on the right side and click on it twice to open the submenu

- drag and drop a user into the opened link directory

Click on the new user on the right side

Name: YT (or enter whatever you want here)
Action: ARexx (in the column next to it enter the path where YT.Rexx is located) (Example:YT.rexx is located in AmigaOs4.1:Utilities/YT/YT.rexx) So it will also be entered as "AmigaOs4.1:Utilities/YT/YT.rexx" without "
INT here you enter "%l silent autoplay" without ", Save settings that's all

Here is a brief insight into how the whole thing works on my “AmigaNG” machine.




Navigate through the articles
Previous article Create a USB installation stick for AmigaOne X5000/20 with RX graphics card Create X5000 boot medium from a system backup Next article
The comments are owned by the author. We aren't responsible for their content.
Author Thread

Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project