[FFmpeg-devel] extradata on h.264 encoding for mp4 and mov files.
Nicolas George
george at nsup.org
Mon Mar 11 17:17:35 EET 2019
Yufei He (12019-03-11):
> It seems ffmpeg can only generate AVCC box if I set extradata in my
> encoder's init function, it does not take the extradata if I make it
> in receive_packet function.
>
> But I don't have sps and pps when the encoder's init function is
> called. I only can get it when I get first encoded frame.
"AVCC box" looks like a muxer thing. It happens after the encoder.
Encode the first frames, and only then open your muxer.
Note: this list is about developing FFmpeg, not developing WITH FFmpeg.
Please see the relevant mailing-list for further comments.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190311/418db5f9/attachment.sig>
More information about the ffmpeg-devel
mailing list