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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to