Params.info.interlace_type = UMC::PROGRESSIVE;
Params.info.interlace_type = UMC::INTERLEAVED_TOP_FIELD_FIRST;
UMC manual states about coding_type:
0 Frame (all frames are coded as frames) 1 Fields (each frame is divided into 2 fields
when setting Params.B_frame_rate=0, all goes fine, and the output video is recognized as interlaced, but using Params.B_frame_rate=1,2, or whatever the encoder crashes encoding the first frame.
If setting Params.B_frame_rate=2 and Params.coding_type=0; it works but the output video is marked as Progressive.
is this a bug? thanks
I was not able to reproduce the crashing behavior. If this is still a problem, could you give some more details about how you set this up?
While info.interlace_type is available as an H.264 parameter, it looks like coding_type determines whether the video will be encoded as progressive or interlaced for this codec. The info.interlace_type parameter is used for mpeg2.
Ive reported this to the development team so we can continue to investigate how to make this better.