[Ffmpeg-devel] h264 decoder/ts-streams

Julian Scheel julian
Fri Nov 3 21:20:56 CET 2006


Am Freitag, 3. November 2006 20:59 schrieb M?ns Rullg?rd:
> This looks wrong in two ways:
> 1. You need to check the NAL unit type and only split when there is a
> new frame.  A frame is usually made up of several NAL units.
> 2. The start code must be included in the packet sent to the decoder.

Thanks for clarification.

> Use an AVParser.  It does the splitting into frames you are struggling
> with, and is already written.

Could you point me to some sample code?

> In a low motion scene that could very well be possible.  However, it
> seems like you're splitting on NAL units rather frames.

Ok, thanks.

-Julian




More information about the ffmpeg-devel mailing list