i5-12400 核显用 potplayer 解码 4k60fps 视频卡到起飞

2022-06-19 14:29:50 +08:00
 wudaye
最近买了个 12400 主机当 htpc ,本以为以前 i3 核显都能轻松解码的 4k60fps 视频,12400 的 uhd730 肯定不在话下,没想到用 potplayer 播放一个 h264 的 4k60fps 8bit 码率 23Mbps 视频,卡顿到声画不同步,查看了一下输出帧率只有 30 到 40 帧,播放器默认硬解,CPU 占用低,GPU 占用 80+。于是关掉硬解设置,发现还是 CPU 低 GPU 高,无法使用 CPU 软解。后来换 win10 自带播放器《电影和电视》播放,丝滑流畅,然而 win10 播放器功能太过简陋。难道是 12400 开倒车了吗
5171 次点击
所在节点    问与答
36 条回复
icyalala
2022-06-19 22:49:42 +08:00
把具体的编码信息打出来看看,不然大家也不好定位啊。。
joynvda
2022-06-19 22:55:09 +08:00
@wudaye 装了 intel 的显卡驱动没?
Daath
2022-06-19 23:19:10 +08:00
单通道内存还是双通道内存?
keyfunc
2022-06-19 23:25:06 +08:00
具体片源的信息贴一下,特别是色彩空间采样信息。
wudaye
2022-06-20 00:10:04 +08:00
@Daath 单通道 8G ,解个视频而已没道理说内存带宽不够吧
wudaye
2022-06-20 00:20:29 +08:00
@keyfunc
@icyalala
General
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 19.1 GiB
Duration : 1 h 57 min
Overall bit rate : 23.3 Mb/s
Writing application : Lavf58.12.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.2
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 h 57 min
Bit rate : 23.0 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 59.940 FPS
Minimum frame rate : 59.920 FPS
Maximum frame rate : 59.960 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.046
Stream size : 18.9 GiB (99%)
Writing library : x264 core 163 r3059 b684ebe
Encoding settings : cabac=1 / ref=3 / deblock=1:1:0 / analyse=0x1:0x131 / me=hex / subme=7 / psy=1 / psy_rd=0.50:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=infinite / keyint_min=120 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=23000 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=32200 / vbv_bufsize=32200 / nal_hrd=none / filler=0 / ip_ratio=1.41 / aq=2:1.00
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 1 h 57 min
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 215 MiB (1%)
Default : Yes
Alternate group : 1
Daath
2022-06-20 00:35:46 +08:00
@wudaye 你组个双通道,就应该解决了。
kokutou
2022-06-20 01:16:38 +08:00
@wudaye
看起来真有可能是双通道的问题。。。
mpv 播放呢?
wudaye
2022-06-20 01:23:15 +08:00
@Daath 依据是什么?
wwqgtxx
2022-06-20 07:21:41 +08:00
@wudaye ddr4 时代的传统经验,至于 ddr5 单通道是否能满足就没尝试过了
wudaye
2022-06-20 09:59:35 +08:00
@kokutou MPV 播放 51-56fps ,CPU 、GPU 都吃满了
Daath
2022-06-20 10:17:41 +08:00
@wudaye 具体原因不清楚,只是亲身体会,现在在用的 i5-8500T ,一开始就是单通道的 D4 的 8G ,播 b 站的 4k60 帧的米哈游光线追踪测试,CPU 占用直接 100%,核显占用忽高忽低,根本看不了,原来用着 i7-6700K 的 HD530 核显都没啥问题,然后就是偶然在一个论坛上看到一个老哥说了单通道内存影响核显,才意识到原来用 i7-6700k 时候是双通道的 D4 ,然后就把另外一台同配置的 i5-8500T 小主机的 8G 拆出来组了双通道,问题解决。
kokutou
2022-06-20 11:25:00 +08:00
内存单通道解码不是问题
问题是屏幕 4k 分辨率,内存作为显存,像素填充率上不去。
然后很多播放器有个拷贝操作,好像要双倍带宽
lonely701
2022-06-21 10:27:10 +08:00
potplayer 推荐用 lavfilter ,然后 madvr 做渲染器。这方面的内容很深,网上很多信息可以参考。搜索关键字「 potplayer lag filters madvr 教程」。12 代 U 按说解码能力是没问题的,不应该卡,如果还卡就要看一下 windows 电源设置是否设置为高性能。
wudaye
2022-06-21 22:50:32 +08:00
@kokutou
@Daath
@wwqgtxx
加了根内存组双通道解决了,感谢帮助
wwqgtxx
2022-06-22 08:53:37 +08:00
接#3 补充一下,根据我在几款 intel 8 代 CPU 的核显上的经验,potplayer 选择不同的渲染器对 GPU 资源的占用率完全不一样。大部分网络教程说的 madvr 资源占用率最高(低配置机型没有必要做尝试),然后是 potplayer 默认的“EVR CP”,相对较低的是“内置 DX11 渲染器”,最低的是“EVR”(没有 CP )资源占用率接近系统的《电影和电视》。你在 4#说的“基本都折腾过了”可能并没有详细对比着几种渲染器的结果。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/860651

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX