[FFmpeg-devel] Frame duplication support in FFMPEG for progressive frames' pulldown in HEVC

Praveen Kumar praveenkumar at outlook.com
Tue Jun 18 16:03:49 EEST 2019

Hi all,

Is there a support to handle pulldown feature of progressive HEVC streams in FFMPEG? FFMPEG already handles it for H.264 streams.

Command line used to verify this in x264:
x264.exe CIF_5frames_1fps.y4m --bframes 0 --fps 1 -o single.264
x264.exe CIF_5frames_1fps.y4m --bframes 0 --pulldown double -o double.264

"ffmpeg -i single.264" shows: Stream #0:0: Video: h264 (High), yuv420p(progressive), 352x288, 1 fps, 1 tbr, 1200k tbn, 2 tbc
"ffmpeg -i double.264 shows: Stream #0:0: Video: h264 (High), yuv420p(progressive), 352x288, 1.67 fps, 2 tbr, 1200k tbn, 4 tbc

Decoding using ffmpeg:
ffmpeg -i single.264 -c:v rawvideo single.264.yuv  (Gives 5 frames)
ffmpeg -i double.264 -c:v rawvideo double.264.yuv  (Gives 8 frames)

The same doesn't work with x265 when I make param->pictureStructure=7 for HEVC frame doubling. Kindly let us know if there is a plan to implement handling of HEVC pulldown feature in FFMPEG?

Thanks & Regards,
Praveen Karadugattu

More information about the ffmpeg-devel mailing list