Gentoo Archives: gentoo-user

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
Date: Tue, 29 Nov 2016 08:27:15
Message-Id: 20161129082702.qhxjooyy42brbtxv@kaiminus
In Reply to: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? by Meino.Cramer@gmx.de
1 On Tue Nov 29 08:35:53 2016, Meino.Cramer@×××.de wrote:
2 > Hi Alarig,
3 >
4 > thanks for your help! :)
5 >
6 > yes...I know...but this implies (as far as I know):
7 > Copying the url from FF as argument to youtube-dl,
8 > downloading the file, and than watching it.
9 > This was my (painful) workaround the last days.
10 >
11 > I woyld like something like:
12 > Click on youtube-url, a window (console) pops up
13 > and starts <fill in something> to watch the video
14 > directly.
15 >
16 > Is it possible somehow?
17 >
18 > Thanks in advance for any help!
19
20 I don’t know if it possible to automatically pop up a console, but you
21 can stream directly from mpv. But their is a youtube-dl hook for this,
22 so you need to emerge it before.
23
24 alarig@pikachu ~ % mpv https://www.youtube.com/watch\?v\=A_LxJWHnjSI
25 Warning: mpv was compiled against a different version of ffmpeg than the shared
26 library it is linked against. This can expose subtle ABI compatibility issues
27 and can lead to misbehavior and crashes.
28 Playing: https://www.youtube.com/watch?v=A_LxJWHnjSI
29 (+) Video --vid=1 (vp8)
30 (+) Audio --aid=1 (*) (vorbis)
31 [vo/opengl/x11] X11 error: GLXBadFBConfig
32 [vo/opengl] Could not create GL3 context. Retrying with legacy context.
33 AO: [alsa] 48000Hz stereo 2ch float
34 VO: [opengl] 480x270 yuv420p
35 AV: 00:00:03 / 00:02:33 (2%) A-V: -0.000 Cache: 10s+285KB
36
37
38 Exiting... (Quit)
39
40 But the best is to run away from google ;)
41
42 --
43 alarig

Attachments

File name MIME type
signature.asc application/pgp-signature