-1

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?

Oleksandr
  • 3,574
  • 8
  • 41
  • 78

1 Answers1

2

--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

Community
  • 1
  • 1
aergistal
  • 29,947
  • 5
  • 70
  • 92