I want to create customized interlaced h264 streams, such as:

2:2, 3:2 pulldown, mix with mbaff, etc.

But all I know is to set AV_CODEC_FLAG_INTERLACED_DCT in AVCodecContext.flags, and set AVFrame.top_field_first, and they genreate MBAFF stream.

Do you have any suggestion for me ? Where can I get a related doc ?

Thanks very much!

  • Have you read all the documentation that comes with ffmpeg? That should be your starting point.
    – Dr Mayhem
    May 29 '21 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.