On Fri, 9 Dec 2011, Luca Barbato wrote:

On 09/12/11 20:54, Martin Storsjö wrote:
If an annex b bitstream is muxed into mov, the actual written
sample is reformatted to mp4 syntax before writing.

Currently, the RTP hints that copy data from the normal video
track, where the payload data might be offset compared to the
original sample that the RTP hinting used (when 3 byte
annex b startcodes have been converted into 4 byte mp4 format
startcodes).

Not sure if this is the best solution, couldn't we just force a defined bitstream for all the h264 consumers and document that?

That'd be ideal, yes, but this is the defacto setup at the moment - the libx264 encoder outputs annex b, and the mov muxer only converts it to mp4 while writing it, so for the mov muxer + rtp hinting, this is the default use case.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to