On 11/29/2016 09:46 PM, meino.cra...@gmx.de wrote: > Patrick Steinhardt <p...@pks.im> [16-11-30 04:01]: >> 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 > > > Hi Patrick, > > thanks for your help! :) > > Additionally I played around with the 'vo=' settings. > Interestingly it hangs always at the same point in the video. > > I played back the video with > > mpv '<url>' from the commandline and get the same effect. > > BUT: The output of mpv changes from "playing video" to > "buffering" (at this moment the video hangs) and back. > > I increased the cache and readahead in mpv.conf with > no effect (it even hits the same point in the video > every time!). > > If I configure width<1280 it seems to work...but does > it really need to be that small? > > Am I out of luck? > > Cheers > Meino > > > >
You mentioned you have slow DSL. Have you checked for packet loss on your connection? (ie, smokeping or similar.) Youtube really hates any amount of packet loss. Dan