[FFmpeg-devel] [PATCH] ffmpeg: fix setting field_order during muxing

Hendrik Leppkes h.leppkes at gmail.com
Thu Aug 10 11:21:00 EEST 2017


On Thu, Aug 10, 2017 at 4:43 AM, James Almer <jamrial at gmail.com> wrote:
> AVFrame.top_field_first doxy states
>
> "If the content is interlaced, is top field displayed first."
>
> And AVFieldOrder doxy defines:
>     AV_FIELD_TB,          //< Top coded first, bottom displayed first
>     AV_FIELD_BT,          //< Bottom coded first, top displayed first
>
> Fixes ticket #6577
>

Isn't top coded first in most codecs? So maybe it should use TT (top
coded and displayed first), and TB (top coded first, bottom displayed
first)?
I suppose that difference between coding order might be highly codec
dependent, though.

- Hendrik


More information about the ffmpeg-devel mailing list