I created a little rexx script to play the videos with DVplayer.
First of all I, I use YT.rexx with the HTML output option in yt.cfg. You can see all of my yt.cfg settings in post #35. Second, dvplayer doesn't play nice with the videolinks via https:, so I have to download them to RAM:
I use the following rexx script to get the video and play it with DVplayer: /* */ parse arg url address command 'c:curl' url '-o ram:videoplayback' 'appdir:dvplayer ram:videoplayback' 'delete ram:videoplayback' exit
I created a context menu in Odyssey to call yt.rexx to create the html page with the video links: rx Work:internet/yt.html/yt.rexx %l
And i created a context menu in Odyssey to play the video with dvplayer: rx rexx:dvplayer.rexx %l
Edited by Mozzerfan on 2024/8/29 20:32:36 Edited by Mozzerfan on 2024/8/29 20:35:46
Yes. The selected file is downloaded to ram:. The MP4 file takes the longest time to download. The HLS linksonly take less than a second to download, because they only contain links. The first link usually is a 360p MP4 file. I have fast internet and on my system it takes about 5 seconds to download to ram:
Edit: Now i get your post. the mp4 file takes ages to download through aiostreams. But you can use the HLS file. This loads fast and you can select the size. Viewing a 720p HLS file takes only a couple of seconds to load through aiostreams.
I tried everything but the only message I get is : Unable to open T:YT/YT-Site.html
A little more information would be helpful, how did you configure it?
Which player do you use for the output, Emotion/MPlayer/FFPLAY ?
At the moment I'm testing the best configuration with Emotion and YT.rexx with MickJT and it's already really very good.
Since you can no longer access the official YouTube site with Odyssey, I mainly use it for streaming YouTube videos (https://aiostreams.amiga-projects.net). Thanks again to “walkero” for the great provision of this website.
On this alternative YouTube site, with the right configuration, all videos can be streamed via emotion in 1080p, it's really great and fast. I'm not sure when MickJT will provide the new YT for all of us, so just be patient.
Here you can see it briefly with the latest beta of YT.rexx on Emotion.
AioStreams over YT.rexx:
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
I think it doesn't matter what program I'm using (Emotion with Invidious instance from aiostreams).
It is at the the very start of the rexx program that this error occurs. Something is going wrong with the creation of this file (YT-sites.html) I think.
My Odyssey script is this : RX dh2:Video/YT/YT.rexx % html odyssey silent
I think it doesn't matter what program I'm using (Emotion with Invidious instance from aiostreams).
It is at the the very start of the rexx program that this error occurs. Something is going wrong with the creation of this file (YT-sites.html) I think.
My Odyssey script is this : RX dh2:Video/YT/YT.rexx % html odyssey silent
Why do they want to use “Invidious” as an alternative to YouTube and AIOStreams? I don't quite understand it. Maybe you could explain what the advantages are?
Personally, Amiga AioStreams is enough for me to be able to watch YouTube videos with YT.Rexx in a good resolution.
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
If you do this directly via AioStreams with a script, you can only watch videos in 360p.
As I already explained in another thread, this is currently the only option we have. YouTube.com or YouTube Mobile no longer works with Odyssey and there are only gray tiles.
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
The link for the mp4 file is too long, so it couldn't be used by the dosscript for emotion from post #35
So I adapted my rexx script, so it could be used for dvplayer and emotion. The script is so simple, I think I don't have to explain any further. For usage with a context menu in Odyssey for dvplayer: rx REXX:videoplayer.rexx %l dv
For usage with a context menu in Odyssey for emotion: rx REXX:videoplayer.rexx %l emo
/* videoplayer.rexx */ /* usage: rx videoplayer.rexx <url> <app> */ /* <app> can be dv or emo. */ /* when no <app> option is entered, default app is dvplayer */ /* */ parse arg url app if app='' then app='dv' if app='emo' then app2='appdir:Emotion' if app='dv' then app2='appdir:DVPlayer' address command 'c:curl' url '-o ram:videoplayback' app2 'ram:videoplayback' 'delete ram:videoplayback'