AnsweredAssumed Answered

i.mx6 h.264 VPU encode interlaced video

Question asked by Jamie Whitham on Feb 27, 2017
Latest reply on Mar 6, 2017 by Artur Petukhov



I'm using the i.mx6q VPU to h.264 encode progressive video fine. But now I need to encode interlaced video where each field arrives in a separate buffer V4L2_FIELD_ALTERNATE.


How can I tell the encoder that each buffer is an alternate field?


I can't  see from reading "i.MX 6Dual/6Quad VPU Application Programming Interface Linux Reference Manual" how you tell it you are sending interlaced frames or individual fields?


At the moment it does encode the fields, however it does each one as a separate frame meaning the player displays half height video.