This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

interlaced coding with DM8168

Guru 20755 points

Hello,

using DM8168, H.264 codec encoder and decoder, I would like to understand regarding interlace coding:

1. Does the codec permit only field encoding (no frame coding) ?

2. What is supported by decoder, it is also only field decoding that it can decode ?

Thank you,

Ran

  • Can you give an example of what you are refering to as field encoding and frame encoding ? If camera captures interlaced content (fields) and you dont do deinterlacing and feed it directly to the encoder it will encode fields.Depending on input content decoder can decode frames or fields.I think I have misunderstood your question.An example will help clarify.

  • according to my understanding the interlaced frames can be encoded in 2 different ways, from H.264 standard:

    “4.1.2 Coding interlaced video

    Each frame of interlaced video consists of two fields which are separated by one field-period. The specification allows either the frame to be encoded as picture or the two fields to be encoded as two pictures. Frame encoding or field encoding can be adaptively selected on a frame-by-frame basis. Frame encoding is typically preferred when the video scene contains significant detail with limited motion. Field encoding, in which the second field can be predicted from the first, works better when there is fast movement.”

  • Encoder always encodes as fields.Decoder can decode a stream that has a mix of fields and frames.