简体   繁体   中英

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

I don't understand what 'wpredp' do? I've tried to find the description of 'wpredp' parameter but without success. Can somebody explain what it do?

--weightb (x264)

-flags2 +wpred (FFmpeg)

This allows B-frames to use weighted prediction options other than the default. There is no real speed cost for this, so it should always be enabled.

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

Following the same logic, wpredp applies to P frames.

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.

Source: Marios C. Angelides, Harry Agius - The Handbook of MPEG Applications: Standards in Practice

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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