[FFmpeg-devel] Splitting an h.264 encoded stream in NALs?

Luca Barbato lu_zero
Sat Nov 10 13:28:56 CET 2007


Luca Abeni wrote:
> 
> Thanks; I just had a look at it. It seems that your parser is using the
> same code as libavcodec/h264.c (and my one is similar to it, too ;-)

pretty much what is in h264.c:decode_nal_units

> 
> BTW, I have a question about it: isn't the NAL start code composed by 4
> bytes: "0x00 0x00 0x00 0x01"? It looks like your code is searching for a
> 3-bytes start code?

cf decode_nal_units

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list