Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OT: No audio while playing HTML5-video (YouTube)
Date: Wed, 13 Jan 2016 05:53:40
Message-Id: n74ood$h1r$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: OT: No audio while playing HTML5-video (YouTube) by Mick
1 On 13/01/16 00:40, Mick wrote:
2 > On Tuesday 12 Jan 2016 19:56:18 Nikos Chantziaras wrote:
3 >> On 12/01/16 05:08, Meino.Cramer@×××.de wrote:
4 >>> Stroller <stroller@××××××××××××××××××.uk> [16-01-12 04:00]:
5 >>>>> On Mon, 11 January 2016, at 6:15 p.m., meino.cramer@×××.de wrote:
6 >>>>>
7 >>>>> Oh, how I like music videos without sound.... ;)
8 >>>>
9 >>>> I trust you're aware you can use net-misc/youtube-dl until you get this
10 >>>> sorted.
11 >>>>
12 >>>> It's not clear to me that _any_ HTML5 audio is playing in your browser.
13 >>>>
14 >>>> What version of Firefox do you have, what are it's USE flags?
15 >>>>
16 >>>> Stroller.
17 >>>
18 >>> ...yes, sour are right :)
19 >>> Until now no a single HTML5-video is playing its sound...
20 >>
21 >> A better way:
22 >>
23 >> Open mpv from your "start menu". Drag&drop the youtube video into the
24 >> mpv window.
25 >>
26 >> No need to mess with terminals :-)
27 >
28 > Hmm ... this won't work here. :(
29 >
30 > An exit code of 2 was returned.
31
32 You need to have the youtube-dl script installed (net-misc/youtube-dl).
33 Make sure you use the ~arch version, since YouTube can change their APIs
34 very fast, and that script has almost daily updates. But it's safe using
35 ~arch for this package, since it's just a python script.
36
37 To make sure you get the highest quality youtube format (including
38 getting 60FPS video when available), make sure this line:
39
40 ytdl-format=bestvideo[ext=webm]+bestaudio/bestvideo+bestaudio/best
41
42 Is in your mpv config file (default should be ~/.mpv/config). If you
43 have a 1080p monitor, make sure you're excluding 4K. In that case, the
44 above line should be:
45
46
47 ytdl-format=bestvideo[width<=?1920][ext=webm]+bestaudio/bestvideo[width<=?1920][ext=mp4]+bestaudio/best
48
49 In both cases, VP9 is given higher priority and H.264 is only used when
50 no VP9 version of the video exists. (YouTube provides much higher
51 quality video in the VP9 format.)

Replies

Subject Author
[gentoo-user] Re: OT: No audio while playing HTML5-video (YouTube) Nikos Chantziaras <realnc@×××××.com>