There seems to be difference between the output of the chunk demux and the ffmpeg demux when processing MP4 streams.
The Ffmpeg demuxer will convert H.264 to Annex-B format if EnableBitstreamConverter() is called (determined by the decoder), otherwise the output frames are not modified from the MP4 container.
For AAC, the frames are not modified.
The chunk demuxer will always convert H.264 bitstreams to Annex-B format and add ADTS headers to AAC frames. EnableBitstreamConverter() is ignored by the chunk demuxer.
Is this the desired behaviour or a bug?
Should the chunk demuxer also honor the EnableBitstreamConverter request and only do Annex-B conversion if requested, and leave AAC frames alone?
F