[FFmpeg-devel] [RFC] Sending H.264 stream to multiple containers
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Jul 16 21:41:00 CEST 2013
On Tue, Jul 16, 2013 at 03:27:00PM +0200, Nicolas George wrote:
> You say that the lavf MOV muxer transforms into MP4-compliant structure.
> Logically, the MOV demuxer should do the reverse transformation, and nobody
> should worry about except people implementing MOV tools and people examining
> a MOV file in a binary editor. Am I missing something?
Yes, decoders (and not just FFmpeg's) generally support both formats.
Also, the format in MOV is actually easier to decode.
So doing such a conversion in the demuxer would be a waste of CPU
cycles for the "normal" use case.
> 1. NAL unit stream with global headers;
> 2. NAL unit stream without global headers;
> 3. Annex B byte stream with global headers;
> 4. Annex B byte stream without global headers.
Only 1 and 4 are really used to my knowledge, but I
might miss something.
More information about the ffmpeg-devel
mailing list