@Maijestro has provided some useful info, and others too.
The solution seems to be: - Use AIOSTREAMS to search for desired videos from various platforms: YT, Twitch, etc - Configure something to make it so that the video you want to watch opens up with your desired video player.
Is that correct?
=== Goal: I would like to know what the "gold standard" is for streaming video using either of Odyssey or IBrowse. Which packages should be installed and which configuration should be applied.
If people comment here, I can keep this original post up-to-date.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Thank you for opening the thread, as I have been working with AioStreams and also YT.rexx I would like to share my experiences here. How it is possible for us to watch TwitchTV and YouTube as we are used to from other operating systems.
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.
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” is one of them that works perfectly. With the configuration via Emotion, all YouTube streams will be displayed in 1080p from now on.
Here is a brief insight into how the whole thing works on my “AmigaNG” machine.
Edit: The whole thing is of course also possible via iBrowse and I will also explain this way in more detail later and of course the use of AioStreams directly.
Edited by Maijestro on 2024/9/6 19:16:06 Edited by Maijestro on 2024/9/6 20:14:12 Edited by Maijestro on 2024/9/6 20:16:33 Edited by Maijestro on 2024/9/6 20:19:20 Edited by Maijestro on 2024/9/6 20:25:01 Edited by Maijestro on 2024/9/6 20:46:52 Edited by Maijestro on 2024/9/6 20:54:14 Edited by Maijestro on 2024/9/6 21:09:09
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
You can't comment out ArgsMP or PathFP like that. If they're commented out, then they become undefined, not blank.
If you're using Emotion, you'll want ArgsMP to be blank, like ArgsMP = ""
Otherwise it's going to add ARGSMP (literally that string in uppercase) to the Emotion arguments.
If PlayMode="3", then it won't be using the FP variables for HLS streams anyway, so I'm not sure why you commented out PathFP (which to repeat, makes it an undefined variable, turning it into PATHFP in uppercase).
Unfortunately I made a few errors in the script, and it has changed again, so you may want to edit your guide. The current version is in the other yt.rexx thread.
Also when using the script for dvplayer, playmode in yt.cfg really has to be 1.
Ok I have understood it a little better to be able to take it over directly “copy&paste” for the YT.cfg entries must be very accurate. Changed again, now it looks good. Thank you
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
You've switched them all to the wrong type. They're all unicode quotes now. Perhaps if viewing this site on an Amiga browser and copy & pasting into a text editor, it might automatically convert the type. I don't know.