1 |
Patrick Steinhardt <ps@×××.im> [16-11-30 04:01]: |
2 |
> On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@×××.de wrote: |
3 |
> > Poncho <poncho@××××××.ch> [16-11-29 18:24]: |
4 |
> > > you can use the open-with extension ( see: |
5 |
> > > https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a |
6 |
> > > "open with mpv" shortcut in your right click menu |
7 |
> > > |
8 |
> > > On 29.11.2016 08:35, Meino.Cramer@×××.de wrote: |
9 |
> > > > Alarig Le Lay <alarig@××××××××××.fr> [16-11-29 08:16]: |
10 |
> > > >> On Tue Nov 29 07:42:16 2016, Meino.Cramer@×××.de wrote: |
11 |
> > > >>> Is there any way to feed the stream from youtube direktly into |
12 |
> > > >>> a not blown player like mpv/mplayer or such (I would prefer |
13 |
> > > >>> not to load a complete gui (vlc) with any click again and again.)? |
14 |
> > > >> |
15 |
> > > >> Hi, |
16 |
> > > >> |
17 |
> > > >> Yes, you can play video from youtube with mpv if you have emerged |
18 |
> > > >> net-misc/youtube-dl. |
19 |
> > > >> |
20 |
> > > >> -- |
21 |
> > > >> alarig |
22 |
> > > > |
23 |
> > > > Hi Alarig, |
24 |
> > > > |
25 |
> > > > thanks for your help! :) |
26 |
> > > > |
27 |
> > > > yes...I know...but this implies (as far as I know): |
28 |
> > > > Copying the url from FF as argument to youtube-dl, |
29 |
> > > > downloading the file, and than watching it. |
30 |
> > > > This was my (painful) workaround the last days. |
31 |
> > > > |
32 |
> > > > I woyld like something like: |
33 |
> > > > Click on youtube-url, a window (console) pops up |
34 |
> > > > and starts <fill in something> to watch the video |
35 |
> > > > directly. |
36 |
> > > > |
37 |
> > > > Is it possible somehow? |
38 |
> > > > |
39 |
> > > > Thanks in advance for any help! |
40 |
> > > > |
41 |
> > > > Cheers, |
42 |
> > > > Meino |
43 |
> > > > |
44 |
> > |
45 |
> > Hi Poncho, |
46 |
> > |
47 |
> > thanks for your help - I installed this one. |
48 |
> > |
49 |
> > One problem: mpv seems to open the video with the highest |
50 |
> > possible resolution...and now.......the video.............stops |
51 |
> > from.........time..........to time.........due to..........too |
52 |
> > less............DSL bandwidth........... |
53 |
> > |
54 |
> > Can I tell who? to only access videos with 720p max??? |
55 |
> > |
56 |
> > Cheers |
57 |
> > Meino |
58 |
> |
59 |
> Hi Meino, |
60 |
> |
61 |
> yes, it is possible. The format-selection is quite flexible with |
62 |
> youtube-dl. I've got the following line in |
63 |
> ~/.config/mpv/mpv.conf: |
64 |
> |
65 |
> ''' |
66 |
> ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best |
67 |
> ''' |
68 |
> |
69 |
> Something like the following might work for you. |
70 |
> |
71 |
> ''' |
72 |
> ytdl-format=bestvideo[width<=920]+bestaudio/best |
73 |
> ''' |
74 |
> |
75 |
> It will select a format with width less than 920px together with |
76 |
> the best audio source, or, if nothing matches this criteria, the |
77 |
> best format available. But just take a look at youtube-dl(1), |
78 |
> FORMAT SELECTION. |
79 |
> |
80 |
> Patrick |
81 |
|
82 |
|
83 |
Hi Patrick, |
84 |
|
85 |
thanks for your help! :) |
86 |
|
87 |
Additionally I played around with the 'vo=' settings. |
88 |
Interestingly it hangs always at the same point in the video. |
89 |
|
90 |
I played back the video with |
91 |
|
92 |
mpv '<url>' from the commandline and get the same effect. |
93 |
|
94 |
BUT: The output of mpv changes from "playing video" to |
95 |
"buffering" (at this moment the video hangs) and back. |
96 |
|
97 |
I increased the cache and readahead in mpv.conf with |
98 |
no effect (it even hits the same point in the video |
99 |
every time!). |
100 |
|
101 |
If I configure width<1280 it seems to work...but does |
102 |
it really need to be that small? |
103 |
|
104 |
Am I out of luck? |
105 |
|
106 |
Cheers |
107 |
Meino |