作者Adama (So Say We All.)
看板Linux
标题[心得] youtube html5 1080p的firefox设定
时间Mon Apr 13 16:58:47 2015
※ 引述《flyingIdea (飞翔的想法)》之铭言:
: 标题: [问题] ubuntu firefox搜索另开新视窗
另开新标题
刚一时兴起就试了一下用firefox播youtube html5 (惯常用chrome)
竟然发现除了360p以外的解析度都没有...
原来要自行至about:config内开启MSE (Firefox 33 and newer)
media.mediasource.*.enabled = true
开启全部的codecs支援 (可在www.youtube.com/html5里看到)
新增一个boolean: media.mediasource.ignore_codecs = true
media.fragmented-mp4.* = true
media.fragmented-mp4.use-blank-decoder = false
然後观看1080p就很正常,tearing test影片也没撕裂,跟chrome播起来相同
有tearing应该是视讯加速有问题吧!过去的经验是用mplayer或vlc时
如果把video output设成xv就会tearing,设成opengl就不会
(但我现在都是用va-api (intel i7)。nvidia用户则是用vdpau)
另外的可能因素就是kernel和xorg (ubuntu是包成hardware enablement stack, HES)
ubuntu 14.04预设kernel 3.13时chrome每开google map必当,更新到14.10的3.16就解决
firefox有个选项是控制要不要使用硬体加速
: → s9209122222: 最近对firefox很失望youtube全萤幕会撕裂(是说html5 04/06 23:42
: → s9209122222: , flash不清楚) 04/06 23:42
: 推 CP64: 要分 html5 / flash 最快的方式就是在画面上按个右键看右键 04/07 00:39
: → CP64: 选单 04/07 00:39
: → CP64: 我 Linux 上用 Firefox 看 YT 都挺正常的 04/07 00:40
: → s9209122222: 我是只有firefox会出现撕裂chrome, opera都不会 04/07 02:16
: → s9209122222: 您可以试试全萤幕看看,特别是1080p的很容易看出来 04/07 02:18
: → s9209122222: YT搜寻tearing test应该可以看到测试影片 04/07 02:20
: → s9209122222: 然後调到4K还会lag, 其他浏览器都不会,看来firefox 04/07 02:23
: → s9209122222: 对YT的html5支援很烂 04/07 02:23
: 推 extraymond: 应该说youtube对firefox很坏吧QQ 04/11 16:49
: → s9209122222: 总之只希望firefox快点解决全萤幕画面撕裂的问题了 04/13 14:38
--
Nice to meld you.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.169.91.197
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1428915530.A.F47.html
1F:推 s9209122222: 我是使用OpenSUSE,核心就是3.16,我是只有全萤幕会 04/13 18:28
2F:→ s9209122222: 发生撕裂(要等一下下),HTML5不是不能硬体加速吗? 04/13 18:28
3F:→ s9209122222: 然後取消硬体加速也是一样的状况 04/13 18:48
4F:→ s9209122222: 请问那个hardware enablement stack, HES是什麽? 04/13 18:54
5F:推 Bencrie: nvidia 要 tear free 可能只能靠 fullcompositepipeline 04/13 19:37
6F:→ Bencrie: ^xv 04/13 19:38
7F:→ Bencrie: 但是加了 ForceFullCompositionPipeline 整体效能会掉 04/13 19:38
8F:→ Bencrie: 好处是所有的东西都是 tearing free,gnome shell 04/13 19:39
9F:→ Bencrie: 用 x11grab 抓画面也可以上 60fps 不会破图 04/13 19:39
10F:推 Bencrie: 刚刚测了一下 html5 好像还是用软解且会 tearing 04/13 19:49
11F:→ s9209122222: 你说啥我都看不懂XD 04/13 19:56
12F:推 s9209122222: 刚刚试了elementary os,确实不会有撕裂的状况,无言 04/13 20:37
13F:→ s9209122222: 不过4K一样是无法正常观看就是了 04/13 20:38
14F:→ s9209122222: 结果我错了,还是一样撕裂的很严重 04/13 22:14
15F:推 commando1107: 我比照您的设定,但是播放Youtube声音都是ㄣ的,若 04/21 13:32
16F:→ commando1107: media.mediasource.ignore_codecs = true则部份声音 04/21 13:33
17F:→ commando1107: 正常 04/21 13:34
18F:推 s9209122222: 过了这麽久来回覆一下,结果elementary OS也会 07/12 15:54
19F:→ s9209122222: 总之就是firefox的问题,因为其它浏览器都不会 07/12 15:54