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

Luca Barbato lu_zero
Sat Nov 10 13:05:27 CET 2007

Luca Abeni wrote:
> Hi all,
> I have an H.264 stream (from linbx264), and I need to split it in NALs
> (yes, I am working on H.264 support in the RTP muxer :).
> I wrote my own code for this (and it seems to work well), but I am
> wondering if we have some function in libavcodec that I can call for
> this (I had a look at libavcodec/h264.c, and it does not seem to call
> ff_find_start_code()).

it is a bit convoluted inside that file, you may just take the
h264_parse from feng and change the parameters to fit ffmpeg.




Luca Barbato

Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list