Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
196 user(s) are online (149 user(s) are browsing Forums)

Members: 1
Guests: 195

thomas, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: IBrowse 2.4 OEM how to use YT.rexx
Not too shy to talk
Not too shy to talk


See User information
@white

Well, you need to be clear what the various components are
doing when you use YT.rexx....

Your webbrowser is calling YT.rexx to decode the Youtube
page and find the actual video URL(s) within.

MPlayer is a commandline tool for playing videos. You
should be using Mick's latest version for best performance
and results.

MPlayer-GUI is just a frontend for MPlayer that gives you
point'n'click controls for starting/playing videos. All in
all, this shouldn't be necessary or involved when playing
YT videos with YT.rexx.

Configuration...

In this thread we've been talking about how to configure
your browsers to call YT.rexx on Youtube links & pages.

If you use "autoplay" with YT.rexx to automatically play
videos, then it is YT.rexx that is directly running
MPlayer.

As such, the configuration of which MPlayer & how it runs
is set at the start of the YT.rexx script. Please see the
YT.rexx AmigaGuide docs.

Granted there are even more ways to use YT.rexx (to show
you all the video formats available) and then to be able
play from the findings from your browser... But first
get "autoplay" working.

;)

Good luck,

PJS

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx
Quite a regular
Quite a regular


See User information
Hi, pjs
I solved
I'm sorry, it took time and thanks for your patience
this is the script that works:

/ * YouTube URL extractor * / Ver = "v1.5"

/ * Default settings * /
Embed = "0" / * Request content as an embedded video by default? 0/1 * /
HTML = "0" / * Generate HTML page and open browser? 0/1 * /
Login = "0" / * Login to your YouTube account? 0/1 * /
Debug = "0" / * Write debug output to T: YT-Debug.log? 0/1 * /
AutoPlay = "1" / * Automatically stream videos in mplayer / ffplay? 0/1 * /
SkipDASH = "0" / * Skip processing of DASH links. 0/1 * /
Captions = "1" / * Display list of captions? Console mode only. 0/1 * /
CapLang = "" / * Caption language for autoplay. Blank for none. See docs. * /
CapTrans = "" / * Translate captions to this language. See docs. * /
Browser = "" / * Default browser: Odyssey / IBrowse / AWeb / NetSurf. * /
ScanLimit = "10" / * Maximum amount of videos links to scan. * /
UsePipe = "0" / * HTTPS Streams to MPlayer via STDOUT / STDIN * /

TagOrder = "18" / * MP4 720p / 360p, FLV 240p * /
PathMP = "APPDIR: Work: MickjT-Mplayer / mplayer-nonaltivec" / * Full path to MPlayer executable * /
PathFP = "APPDIR: ffplay" / * Full path to FFplay executable * /
ArgsMP = "- quiet -really-quiet -vo sdl" / * Optional parameters for mplayer * /
ArgsFP = "- loglevel quiet -infbuf" / * Optional parameters for ffplay * /
/ * End of settings * /

the wrong line was this:
ArgsMP = "- vo sdl" / * Optional parameters for mplayer * /

the right one is this:
ArgsMP = "- quiet -really-quiet -vo sdl" / * Optional parameters for mplayer * /



In odyssey:
c: rx data:YT / YT.rexx % l silent autoplay

Thanks again for your suggestions and your patience!

And thanks to mickjT for this job really well done!

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx
Not too shy to talk
Not too shy to talk


See User information
@white

Given your question about which MPlayer is being used, one
item of note...

I forgot that YT.rexx was initially set up using APPDIR:
paths to MPlayer and FFPlay (in my system, I set them to
explicit paths for manual control and testing purposes).

In case you didn't know, the "APPDIR:" path in
"APPDIR:MPlayer" is a "virtual" path to whichever version
of MPlayer that was last run.

In general that works fine for most users as long as you're
not changing programs a lot and/or doing a lot of testing.

With APPDIR: if you move MPlayer or create a new install
and then run it just once (from the command line or
Workbench), then YT.rexx will automagically also being
running that MPlayer.

Obviously, it's not a good thing if you test some new
version of MPlayer and that's not working. APPDIR: will
mean YT.rexx will also be using that bad version until you
go back and manually run the known-good version again.

Fun fun fun!

Good luck,

PJS

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Just can't stay away
Just can't stay away


See User information
@white

A lot of your arguments have a space after the first "-" that shouldn't be there. For example, you have "- vo sdl", and "- quiet", and "- loglevel". MPlayer will be treating the "-" on its own as a special filename and redirect input from STDIN. You need to remove those erroneous spaces.

"-quiet -really-quiet -vo sdl" will work fine.

You've got a few "- " elsewhere that should be removed.

The [CLI 5] thing is because you used C:run instead of Rx, but I see you've solved that now.

Also your APPDIR paths are messed up, you have too many spaces on those lines as well.

PathMP = "APPDIR: Work: MickjT-Mplayer / mplayer-nonaltivec" / * Full path to MPlayer executable * /
PathFP = "APPDIR: ffplay" / * Full path to FFplay executable * /

That's not right, it should be:

PathMP = "Work:MickjT-Mplayer/mplayer-nonaltivec" / * Full path to MPlayer executable * /
PathFP = "APPDIR:ffplay" / * Full path to FFplay executable * /

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Quite a regular
Quite a regular


See User information
/* YouTube URL extractor */ Ver="v1.5"

/* Default settings */
Embed="0" /* Request content as an embedded video by default? 0/1 */
HTML="0" /* Generate HTML page and open browser? 0/1 */
Login="0" /* Login to your YouTube account? 0/1 */
Debug="1" /* Write debug output to T:YT-Debug.log? 0/1 */
AutoPlay="1" /* Automatically stream videos in mplayer/ffplay? 0/1 */
SkipDASH="0" /* Skip processing of DASH links. 0/1 */
Captions="1" /* Display list of captions? Console mode only. 0/1 */
CapLang="" /* Caption language for autoplay. Blank for none. See docs. */
CapTrans="" /* Translate captions to this language. See docs. */
Browser="" /* Default browser: Odyssey/IBrowse/AWeb/NetSurf. */
ScanLimit="10" /* Maximum amount of videos links to scan. */
UsePipe="0" /* Streams HTTPS to MPlayer via STDOUT/STDIN */

TagOrder="18" /* MP4 720p/360p, FLV 240p */
PathMP="Work:MickjT-MPlayer/mplayer-nonaltivec" /* Full path to MPlayer executable */
PathFP="APPDIR:Amiga:Utilities/FFmpeg/Generic/ffplay.xdelta3" /* Full path to FFplay executable */
ArgsMP="-quiet -really-quiet -vo sdl" /* Optional parameters for mplayer */
ArgsFP="-loglevel quiet -infbuf" /* Optional parameters for ffplay */
/* End of settings */

hi pjs, thanks for your advice, I'm sorry if I did not answer right away.
I would like to try and make odyssey faster.
I would be pleased if possible to have some advice.
If this is possible, thank you!

MickjT
Thanks for the advice, I attach the script directly using Odyssey and not firefox.
This is the first time I reply with Odyssey, I hope it is right to copy and paste.
This is the exact configuration file.
Thanks I hope it's right.
I have not figured out how to attach a file in the forum, it would be easier.
Thanks for all the advice and your work.

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Quite a regular
Quite a regular


See User information
Hi, I'm sorry,
but the script I posted is right?
Everything seems to work perfectly odyssey works very well with YT.rexx
I do not get any errors.

If there are any errors, or lines to be eliminated, I willingly accept your advice.
Thanks again.

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Just can't stay away
Just can't stay away


See User information
Hi,

It's better but not 100% correct.

PathFP="APPDIR:Amiga:Utilities/FFmpeg/Generic/ffplay.xdelta3"

.xdelta3 is not an executable file. After extracting ffmpeg.lha, you need to run the "Unpack" script which creates the remaining binaries from the xdelta3 files. It works similar to spatch or gpatch which you might be more familiar with. In summary, extract ffmpeg.lha to RAM:, then in shell type "cd ram:ffmpeg" then "unpack" and you'll have the proper ffplay binary.

Also, if you're using a non-APPDIR path, get rid of APPDIR: from the start, so the line looks like:

PathFP="Amiga:Utilities/FFmpeg/Generic/ffplay"

All that being said, ffplay is/was only used to play live streams, and YouTube has deprecated HLS streams and they don't work properly anymore. So, there's no real need to worry about fixing that path or installing ffplay anyway.

Edit (2nd March): HLS streams over SSL/TLS has been fixed in the ffmpeg git repo. A fix from December '17 hasn't made its way into any official release yet.


Edited by MickJT on 2018/3/2 5:57:13
Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Quite a regular
Quite a regular


See User information
@MickJT
Thank you for your patience and the explanation of ffplay.
I corrected the script.
And thanks again for your player works really well with SMTube, I also corrected the outpout in the smtube.ini file
Now everything works transparently and without output windows

I wanted to ask you there is a possibility of using YT.rexx in a website
when is it posted, for example, a video linked directly to youtube?

such as in this case:
http://eab.abime.net/showthread.php?t=89887&page=2

(show youtube player)

Thanks again!

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Quite a regular
Quite a regular


See User information
Hi, I configured Odyssey with YT.rexx MickjT-mplayer here is a small video, sorry for the quality.
I would appreciate if possible to increase the performance of the browser.
I've looked for guides but I can not find anything.
Maybe to make it lighter and faster.
Is it possible to configure it with MUI?
Or configure it better?

Thank you all for any answers.

https://youtu.be/4RS6trt4l4E

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Not too shy to talk
Not too shy to talk


See User information
@white

OK.... speeding up Oddity??

There's one little hack that's been helping me. I just
started a new topic on it here:

http://www.amigans.net/modules/xforum ... m=40&topic_id=7731&order=

Granted, quitting Oddity after every use is also HIGHLY
recommended. It simply isn't good enough to leave running
in the background.

Good luck,

PJS

Go to top
Re: IBrowse 2.4 OEM how to use YT.rexx "SOLVED"
Quite a regular
Quite a regular


See User information
@pjs
Thanks pjs, I'm reading the document, thanks for your help.

Go to top

  Register To Post
« 1 (2)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project