[Libav-user] Writing AVCC extra data in header
explomaster at gmail.com
Fri Nov 17 16:43:16 EET 2017
Hi. I am trying to understand something regarding AVCC info when muxing
elementary h264 stream into mp4.SO far
I was adding extra data which is SPS and PPS that I retrieve from h264
encoder. But when I analized the mp4 file I found that all the AVC stuff
AVC NALU length size
are not set. (used mp4info tool). I started to dig into ffmpeg to see how
to set those extra fields and
with the function ff_isom_write_avcc
which exactly does what I need. But I don' understand why the libav doesn't
write it automatically when muxing the stream.
I set outstream->codecpar->codec_tag = MKTAG('a', 'v', 'c', '1');
But nothing changes.Do I have to create AVCC header buffer manually?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user