LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   any way to stream youtube videos directly with mplayer ?? (https://www.linuxquestions.org/questions/general-10/any-way-to-stream-youtube-videos-directly-with-mplayer-497864/)

alred 11-02-2006 07:40 AM

any way to stream youtube videos directly with mplayer ??
 
out of curiosity quite sometime ago , i tried streaming youtube videos directly with mplayer pass to it with a flc url without the help of a web browser ...

but after a few attempts , still cant do it and i just give up ...

i'm not really interested in internet videos/animations/flash and such , just want to see how this is going to work ... nothing much ...

any clues ?? or any other linux video application can do that ??


//thanks in advance ...


.

alred 11-02-2006 02:51 PM

or is it either my pc is too slow in spec for streaming or i need to give some correct paremeters to mplayer ??

but i believe i could play them locally without much problems ...


any ideas ??


.

Cogar 11-02-2006 05:01 PM

YouTube uses Flash Video. I do not believe mplayer supports that format.

alred 11-03-2006 02:44 AM

should be flv instead of flc(mistake) and i remember mplayer could play this type of video file ...

the only problem i got was that i cant play it without download them onto disk first , no point keeping or having those youtube files on disk ...


.

postcd 03-23-2016 06:44 PM

There is one way https://www.youtube.com/watch?v=QCuq0_nY3Xk
It requires youtube-dl bash script probably: https://rg3.github.io/youtube-dl/download.html
But in my case i not made it working.
But this worked instead:
Quote:

sudo apt-get install mpv
mpv youtubehttpurlhere

John VV 03-23-2016 09:04 PM

ten your old post ??

the qt gui Smplayer has the youtube browse built in

patrick295767 03-26-2016 05:00 AM

you can stream youtube with quvi and ffserver.

You can use mplayer if you wanna as well.

Always avoid slow python codes ; prefer C/C++ or Asm!!!


All times are GMT -5. The time now is 12:12 PM.