TA的每日心情 | 慵懒 2021-2-22 09:30 |
---|
签到天数: 25 天 [LV.4]偶尔看看III
中级会员
- 积分
- 4039
|
本帖最后由 kitanosan 于 2021-1-20 23:24 编辑
出于节省性能的考虑,受到万年冷冻库文章中关于“Artifact Removal”的讲解的启发,我打算设置几个Profiles,当视频分辨率大于2560x1440且色深为10Bit及以上时设置deband=no,其余条件下保持启用。
然后根据在mpv.io查到的内容,我的Profiles条件是这么写的(我用的是d3d11va解码)。
8Bit:
- profile-cond=((p["video-params/w"]>2560 and p["video-params/h"]>1440) and (p["video-params/hw-pixelformat"]=="nv12" or p["video-params/hw-pixelformat"]=="yuy2" or p["video-params/hw-pixelformat"]=="yv24" or p["video-params/hw-pixelformat"]=="rgb32" or p["video-params/hw-pixelformat"]=="yv12" or p["video-params/hw-pixelformat"]=="uyvy" or p["video-params/hw-pixelformat"]=="ayuv" or p["video-params/hw-pixelformat"]=="rgb24"))
复制代码 非8Bit:
- profile-cond=((p["video-params/w"]>2560 and p["video-params/h"]>1440) and (p["video-params/hw-pixelformat"]~="nv12" and p["video-params/hw-pixelformat"]~="yuy2" and p["video-params/hw-pixelformat"]~="yv24" and p["video-params/hw-pixelformat"]~="rgb32" and p["video-params/hw-pixelformat"]~="yv12" and p["video-params/hw-pixelformat"]~="uyvy" and p["video-params/hw-pixelformat"]~="ayuv" and p["video-params/hw-pixelformat"]~="rgb24"))
复制代码 (为什么我能写怎么多,别问,问就是照着LAV的8Bit那两栏抄下来的)
说实话这么一大堆看着有点头疼……各位能不能帮忙看看能不能做出简化,或者有没有什么问题,或者……有没有必要?
|
|