[FFmpeg-devel] extradata on h.264 encoding for mp4 and mov files.

Yufei He yhe at matrox.com
Mon Mar 11 17:09:32 EET 2019


Hi

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.

Please help.

Thanks.

Yufei.


More information about the ffmpeg-devel mailing list