[Ffmpeg-devel] [PATCH] h264 muxing in mp4

Måns Rullgård mru
Mon Mar 6 03:54:24 CET 2006

Loren Merritt <lorenm at u.washington.edu> writes:

> On Sun, 5 Mar 2006, Baptiste COUDURIER wrote:
>> Hi,
>> Second attempt. Nal parsing is done in mov muxer, works for h264
>> bytestream in avi, x264 encoding, and stream copy from mp4.
>> I would like some comments about avc_parse_nal_units and mov_write_avcc,
> You only look for 1 sps and 1 pps? There can be more than 1 of each.
> In a h264 elementary stream, they're even allowed to be spread
> throughout the file, not all at the beginning.

Is it possible to have multiple sps/pps in formats like mov that store
them in a global header?

> Though I haven't seen any codecs other than the reference which use
> multiple sps/pps, so it's not a high priority.

I suspect that we might start seeing more of such things.  It would
make sense for a TV channel to switch some parameters between

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list