Hi,
I'm creating a MPEG-TS files which has an encoded AAC audio track (aacenc.c) but when the AAC packets are added to output container I get the error:

AAC bitstream not in ADTS format and extradata missing

I've found adtsenc.c in the source (which is a muxer) but I don't knw how to add that muxer to my encoding pipeline.

I already put AV_CODEC_FLAG_GLOBAL_HEADER in output format context flags (MPEG-TS) and also in encoder context flags (AAC) but I always get the above error.

How can I add convert my AAC packets to ADTS?

Thanks

lyncher
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to