[FFmpeg-devel] [RFC] h264 avoid starting decode on a non top field

madshi madshi at gmail.com
Sat Nov 12 20:33:29 CET 2011


2011/11/12 Joakim Plate <elupus at ecce.se>

> Soo0... anybody have h264 specs and can check what signals the first field
> of a
> field pair?
>

I think the h264 spec is openly available? Anyway, what you're looking for
is the field "pic_struct". Should be like this:

0: progressive frame
1: top field only
2: bottom field only
3: interlaced frame, top field first
4: interlaced frame, bottom field first
5: interlaced frame, top field first + repeat first field
6: interlaced frame, bottom field first + repeat first field

Best regards, Mathias.


More information about the ffmpeg-devel mailing list