Hi , Thanks for the response. "SLSSpecificConfig() is not currently supported in FFmpeg's MP4/AAC code. I think it should be possible to demux the SLS data and remux it to something else useful... which would be MP4 or maybe Matroska. Could you explain more on this.When you say,SLSSpecificConfig() is not supported y FFMpeg do you mean that it is not possible to decode/encode or it is not possible to demux.
Best Regards Raja What are you actually trying to achieve?" What I am interested in is to read the SLS specific data (e.g core_present,pcm_wordlength etc) from the file so that I can provide those information to my decoder which can then decode SLS-AAC codec. I --- On Sun, 3/15/09, Robert Swain <[email protected]> wrote: From: Robert Swain <[email protected]> Subject: Re: [libav-user] Reading SLS-AAC file To: "Libav* user questions and discussions" <[email protected]> Date: Sunday, March 15, 2009, 6:13 PM On 15/3/09 17:19, debanjana kayal wrote: > I have been trying to read an SLS-AAC file ( in mp4 conatiner) using FFmpeg.. > I am using av_open_input file() to open the file and to > get the stream information I use av_find_stream_info(). > I could get that FFmpeg is able to get there are two streams > in the file as expected. > But my problem is > 1) how to get that the second stream is the SLS layer. > 2) how do i get the SLS information from the file. > I have tried to parse the AudioSpecificConfig() from the extradata available > in > the CodecContext structure.I have an interesting observation. > 1) The extradata information for the first stream gives me proper result like > correct ObjectIndexType(value =2) as it is AAc-LC,gives correct sampling > frequency index, > channel configuration (value 2). > But for the 2nd stream, > 2) I get a value 31,for the ObjectIndexType, wrong sample frequency index(not > same as the Lc > - I expected the same - i may be wrong here),wrong channel configuration (4, > I expected 2). > I have checked the binary value and my parsing logic seems to be correct. > I would request any help regarding this. Can you provide a sample so we can check this out? > Is it that FFmpeg is not able to demux SLS-AAC file?My asumption is there > demuxing does not depend on the underlying codec but depend on the container > in this case mp4,hence should not be an issue. SLSSpecificConfig() is not currently supported in FFmpeg's MP4/AAC code. I think it should be possible to demux the SLS data and remux it to something else useful... which would be MP4 or maybe Matroska. What are you actually trying to achieve? Regards, Rob _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
