[FFmpeg-devel] [PATCH 5/7] CrystalHD: Bring in h.264 parser to establish picture type.

Michael Niedermayer michaelni at gmx.at
Sun Mar 27 10:43:40 CEST 2011


On Sun, Mar 27, 2011 at 07:22:45AM +0200, Reimar Döffinger wrote:
> 
> 
> On 26 Mar 2011, at 18:50, Philip Langdale <philipl at overt.org> wrote:
> 
> > As the hardware is unreliable, we will have to use the h.264 parser
> > to identify whether an input picture is a field or a frame. This
> > change loads the parser and extracts the picture type.
> 
> I think there is a way to tell the parser not to do any parsing (in particular, not search for start codes) but only parse. Libavcodec/avidec.c uses it like that.

see AVSTREAM_PARSE_HEADERS and PARSER_FLAG_COMPLETE_FRAMES

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20110327/18077ce7/attachment.asc>


More information about the ffmpeg-devel mailing list