Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
77 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 77

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


See User information
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
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Mozzerfan

That's a great solution too, I'm not sure, but does the full video download before it plays?

If so, it will take quite a long time for the videos to play given the loading times of videos via AioStreams Project Page/YouTube.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


See User information
@Maijestro

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.

Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Thread

Sorry but can someone help?

I tried everything but the only message I get is : Unable to open T:YT/YT-Site.html

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@K-L

Quote:
K-L wrote:@Thread

Sorry but can someone help?

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
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Maijestro

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

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@K-LQuote:


K-L wrote:@Maijestro

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
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Maijestro

I don't understrand what you are talking about regarding Invidious. What you are using on https://aiostreams.amiga-projects.net/invidious IS an Invidious instance.

Another thing I don't understand : you are mixing AioStreams and YT.rexx?

Or are you confusing https://aiostreams.amiga-projects.net/invidious (which is an Invidious instance) with AioStreams (the software from http://os4depot.net/?function=showfil ... video/misc/aiostreams.lha )

So far, I'm a little bit lost with your answers :(

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


See User information
@K-L

Does your command really say 'YT.REXX %'

Because it should be 'RX dh2:Video/YT/YT.rexx %l html odyssey silent

Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Mozzerfan

Lots of thanks ! That was this !

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@K-L

Quote:
K-L wrote:@Maijestro
Another thing I don't understand : you are mixing AioStreams and YT.rexx?


I don't mix AioStreams with YT.rexx but use the AioStreams "https://aiostreams.amiga-projects.net" site with YT.Rexx to watch YouTube videos in 1080p.

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
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Maijestro

The "AioStreams" site is just an Invidious instance (amongst many others). This is why I call it Invidious and not AioStreams (which is the software).

For the rest, I already know all this very well. I was just looking for my mistake regarding YT.Rexx, problem solved thanks to Mozzerfan.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


See User information
I prefer to use www.tonvid.com.
I acquired a youtube api key, to avoid the 'daily limit exceeded' errors.

Works like a charm.

Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Mozzerfan

Thanks for the tip :)

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


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

exit

Go to top
Re: YT.rexx results in stuttering video [Solved]
Just can't stay away
Just can't stay away


See User information
@Mozzerfan

Quote:
Mozzerfan wrote:I prefer to use www.tonvid.com.
I acquired a youtube api key, to avoid the 'daily limit exceeded' errors.

Works like a charm.


Thanks for the hint, the website works very well with Odyssey

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top

  Register To Post
« 1 2 (3)

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project