简体   繁体   English

x264(或FFmpeg)中的“ wpredp”参数有什么作用?

[英]What does ' wpredp' parameter do in x264 (or FFmpeg)?

I don't understand what 'wpredp' do? 我不明白“ wpredp”是做什么的? I've tried to find the description of 'wpredp' parameter but without success. 我试图找到'wpredp'参数的描述,但没有成功。 Can somebody explain what it do? 有人可以解释它的作用吗?

--weightb (x264) --weightb(x264)

-flags2 +wpred (FFmpeg) -flags2 + wpred(FFmpeg)

This allows B-frames to use weighted prediction options other than the default. 这允许B帧使用默认值以外的加权预测选项。 There is no real speed cost for this, so it should always be enabled. 为此没有实际的速度成本,因此应始终启用它。

Source: https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping 来源: https//sites.google.com/site/linuxencoding/x264-ffmpeg-mapping

Following the same logic, wpredp applies to P frames. 按照相同的逻辑, wpredp适用于P帧。

Weighted prediction allows an encoder to specify the use of a scaling and offset, when performing motion compensation, and providing a significant benefit in performance in special case, such as fade-to-black, fade-in and cross-fade transitions. 加权预测允许编码器在执行运动补偿时指定使用缩放比例和偏移量,并在特殊情况下(例如,淡化为黑色,淡入和淡入淡出过渡)为性能提供显着的好处。 This includes implicit weighted prediction for B-frames, and explicit weighted prediction for P-frames. 这包括针对B帧的隐式加权预测和针对P帧的显式加权预测。

Source: Marios C. Angelides, Harry Agius - The Handbook of MPEG Applications: Standards in Practice 资料来源:Marios C. Angelides,Harry Agius-MPEG应用手册:实践标准

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM