cherrybombuc
Posts: 24
Joined: Mon Feb 25, 2013 4:59 pm

yt mplayer

Mon Sep 08, 2014 3:21 am

how i can play videos on yt with mplayer??

User avatar
elParaguayo
Posts: 1943
Joined: Wed May 16, 2012 12:46 pm
Location: London, UK

Re: yt mplayer

Mon Sep 08, 2014 7:18 am

Have you tried searching for a solution first? What have you tried?
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: yt mplayer

Mon Sep 08, 2014 8:13 am

cherrybombuc wrote:how i can play videos on yt with mplayer??
You will need to download the Youtube Videos with youtube-dl first, maybe omxplayer would be better than mplayer ?

Actually KWeb may be a more elegant solution if you are running Raspbian Wheezy http://www.raspberrypi.org/forums/viewt ... 66&t=40860
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
elParaguayo
Posts: 1943
Joined: Wed May 16, 2012 12:46 pm
Location: London, UK

Re: yt mplayer

Mon Sep 08, 2014 10:25 am

Can't youtube-dl also provide the direct URL for the video without having to download the video first?
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: yt mplayer

Mon Sep 08, 2014 11:15 am

elParaguayo wrote:Can't youtube-dl also provide the direct URL for the video without having to download the video first?
Yes, by setting the -g option. That's exactly what I'm doing now to get flash based web video from Minimal Kiosk Browser; I send the URL to omxplayer(GUI), which plays the stream directly from the server. No need to download anything.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: yt mplayer

Mon Sep 08, 2014 12:17 pm

cherrybombuc wrote:how i can play videos on yt with mplayer??
I think your question hasn't really been answered yet:

You can't. You have to use omxplayer:

yt --player omxplayer
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Other projects”