]> git.sesse.net Git - ffmpeg/commit
mpegvideo_enc: add intra_penalty option for p frames
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 23 Oct 2019 19:12:32 +0000 (21:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Oct 2019 17:45:17 +0000 (19:45 +0200)
commit531fbce0b281be2450bbf0230c2de539230a7d84
treee3877cf6dc62207f045d0144bd610b92471c1221
parent3d5d0301c3d8b0c550db78730e9cfc017d6db5fb
mpegvideo_enc: add intra_penalty option for p frames

This option allows more control over the use of intra macroblocks in
predictive frames.

By using '-intra_penalty max', intra macroblocks are never used in
predictive frames.

It is useful for glitch artists to generate input material. This option
allows them to split and merge two video files while maintaining fluid
motion from the second video without having intra macroblocks restoring
chunks of the first video.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/motion_est.c
libavcodec/motion_est.h
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c
libavcodec/svq1enc.c