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

Michael Niedermayer michaelni at gmx.at
Sat Nov 12 20:52:19 CET 2011


On Sat, Nov 12, 2011 at 08:33:29PM +0100, madshi wrote:
> 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

There are 2 problems,
the syntax element this is in, is optional and not required.
this is about display, not decoding, SEIs are not required by a
conformant decoder.
"
     SEI messages assist in processes related to decoding, display or other purposes. However, SEI messages are not
     required for constructing the luma or chroma samples by the decoding process. Conforming decoders are not required to
     process this information for output order conformance to this Recommendation | International Standard (see Annex C
"


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111112/a30ea018/attachment.asc>


More information about the ffmpeg-devel mailing list