From: Michael S. <ms...@xi...> - 2008-09-11 17:00:52
|
On Thu, Sep 11, 2008 at 5:02 AM, techie tone <tec...@gm...> wrote: > Hi All, > > Can we derive the information about number of channels from codec_data? > > I want to extract the number of channels information from codec_data (for > AAC-LC decoder) received from ffdemux_mov_mp4_m4a_3gp_3g2_mj2. Do not use that demuxer. Use qtdemux instead, it works much much better. The codec_data for AAC does include information about the number of channels, but it's an AAC-specific thing, you'd need to parse it yourself to find out. The channel count is probably also in the caps anyway (from the demuxer, if you use a decent demuxer), so you don't need to do that. Mike |