Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

H264 encoder 1920x1080 interlaced, crash when using b-frames

hello, I modified the basic example to encode a 1920x1080 29.97 interlaced video:

Params.info.interlace_type = UMC::PROGRESSIVE;
modified to:
Params.info.interlace_type = UMC::INTERLEAVED_TOP_FIELD_FIRST;

and:

Params.coding_type =1;

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
0 Kudos
2 Replies
Highlighted
9 Views

Thanks for your report.We'll look into this and get back to you.

Regards,

Jeff
0 Kudos
Highlighted
9 Views

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.

Regards,

Jeff

0 Kudos