[vlc-devel] [PATCH] MPEG4 Audio Packetizer : Send atleast one frame without the ADTS header stripped off in the absence of decoder config extradata.

Laurent Aimar fenrir at elivagar.org
Sun Aug 1 12:15:11 CEST 2010


On Sat, Jul 31, 2010 at 07:52:26PM +0530, Jai Menon wrote:
> This is useful when we don't have an MPEG4AudioDecoderConfig available
> at the time of codec initialization. We construct one later in the
> packetizer but codecs like the libavcodec based AAC decoder, for example,
> won't pick that up.
 This will break the sout, no?

 You could modify the avcodec wrapper to allow delayed open of audio codecs
(it is already done for video, like THEORA).

 A better solution might be to create bitstream filters that convert from one
bitstream format to another one, use them in the sout muxers, and let the
packetizer split into frames but without changing the payload content. It will
fixes some issues (like for example when the AAC properties change) but it's
a lot of work.

-- 
fenrir




More information about the vlc-devel mailing list