On Tue, Nov 29, 2016 at 06:39:28PM +0100, meino.cra...@gmx.de wrote: > Poncho <pon...@spahan.ch> [16-11-29 18:24]: > > you can use the open-with extension ( see: > > https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a > > "open with mpv" shortcut in your right click menu > > > > On 29.11.2016 08:35, meino.cra...@gmx.de wrote: > > > Alarig Le Lay <ala...@swordarmor.fr> [16-11-29 08:16]: > > >> On Tue Nov 29 07:42:16 2016, meino.cra...@gmx.de wrote: > > >>> Is there any way to feed the stream from youtube direktly into > > >>> a not blown player like mpv/mplayer or such (I would prefer > > >>> not to load a complete gui (vlc) with any click again and again.)? > > >> > > >> Hi, > > >> > > >> Yes, you can play video from youtube with mpv if you have emerged > > >> net-misc/youtube-dl. > > >> > > >> -- > > >> alarig > > > > > > Hi Alarig, > > > > > > thanks for your help! :) > > > > > > yes...I know...but this implies (as far as I know): > > > Copying the url from FF as argument to youtube-dl, > > > downloading the file, and than watching it. > > > This was my (painful) workaround the last days. > > > > > > I woyld like something like: > > > Click on youtube-url, a window (console) pops up > > > and starts <fill in something> to watch the video > > > directly. > > > > > > Is it possible somehow? > > > > > > Thanks in advance for any help! > > > > > > Cheers, > > > Meino > > > > > Hi Poncho, > > thanks for your help - I installed this one. > > One problem: mpv seems to open the video with the highest > possible resolution...and now.......the video.............stops > from.........time..........to time.........due to..........too > less............DSL bandwidth........... > > Can I tell who? to only access videos with 720p max??? > > Cheers > Meino
Hi Meino, yes, it is possible. The format-selection is quite flexible with youtube-dl. I've got the following line in ~/.config/mpv/mpv.conf: ''' ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best ''' Something like the following might work for you. ''' ytdl-format=bestvideo[width<=920]+bestaudio/best ''' It will select a format with width less than 920px together with the best audio source, or, if nothing matches this criteria, the best format available. But just take a look at youtube-dl(1), FORMAT SELECTION. Patrick
signature.asc
Description: PGP signature