WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mplayer for youtube  (Read 575 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 931
  • hi there
mplayer for youtube
« on: April 07, 2017, 07:56:22 AM »
Hello,

Don't know if it will help forum members, since they probably already know, but

if you simply want to use Mplayer for watching youtube without any hasstle such as (youtube-dl) (poor mans youtube) or other methods
that can be hasstle...
then instead, you can simply enclose  your movie Link in qoutes. (when executing Mplayer) Explained below.

WHen i want to  watch anything from Youtube ...... i go to any alternative youtube mobile web page and search my Topic....for example
www.genyoutube.net  (wen page)

1) i search my topic of interest.... such as "Rasberry pi" topic on www.genyoutube.net
2) i Choose one of the available movies from the many pages.
3) i Click the choice from 2 above.
4) i Scroll down and right click the "3GP 144" option and copy it's link.  (it's rather a long link)
5) i Open Mplayer.
6) i Put a few arguments into Mplayer such as "-zoom" "-ontop" etc etc and finally at the end "MY MOVIE LINK from 4 above" inside qoutes and
press enter.
7) This gives you a reasonable quality FULL SCREEN youtube movie (by pressing F) while using 10 times less data than the same movie
offerred up from the regular youtube web page player.

you can mess around with many other arguments like  "-crop" "-aspect" and many many others.  To get a perfect draggable movie in
a small window ontop of other work you do.  (or full screen)

If you like, you can go to the regular youtube web page and find some movie of interest....copy it's LINK
and paste that Link into the GENYOUTUBE seach bar.  It will return that exact movie and you can scroll down to get the 3GP 144 link.
and then follow the same list of instructions as above from 4 onwards

thanks

Vince.



« Last Edit: April 07, 2017, 08:12:39 AM by cast-fish »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1079
Re: mplayer for youtube
« Reply #1 on: April 07, 2017, 09:43:53 AM »
sounds like plain advertisement for that genyoutube website.
why is youtube-dl a "hassle"?

you can use this script instead to find directly playable URLS for mplayer, works for most movies:
Code: [Select]
#!/bin/sh
wget -q `echo $1| sed 's.^www.http://www.' | sed 's/https/http/; s/?.*&v=/?v=/; s/&.*//'` -O - |
sed 's/"/\n/g; s/\\u0026/ /g; s/,/\n/g'|
urlencode -d |
grep 'url=.*videoplayback?' |
sed 's/fallback_host[^ ]*//; s/projection_type[^ ]*//';


Offline cast-fish

  • Hero Member
  • *****
  • Posts: 931
  • hi there
Re: mplayer for youtube
« Reply #2 on: April 07, 2017, 11:39:37 AM »
no no....no attempt at adverts.

Sorry it may appear to you that way.

It's just a method of viewing youtube with Mplayer, without depending on anything else. (dillo browser)

(no scripts etc...no apps)  just needs a simple
browser like dillo etc.

It also saves people 10 times the data that is normally consumed by youtubes webpage from the default movie file they offer users
That is the main point of the post....for people who just want to be economincal.

There are thousands of mobile youtube webpages. (for your information)....i just used ONE example link to make the explanation easy.
Allthough TCL's forum may not allow web links to be posted...it just makes it easier to explain the idea.

typical Mplayer arguments that help the idea are  "-ontop" "-quite" etc.... if you don't want to see mplayers jargon.

A typical usage would be

$ mplayer -zoom -ontop -quiet -aspect 4:3  "reallyLONGmovieLINK.3gp"    (enter)

Thx.

V

« Last Edit: April 07, 2017, 11:58:27 AM by cast-fish »