On 27/07/13 13:35, Liang Zhang wrote:
Hello,

I tested the example program of demuxing for decoding audio signals and have received the information regarding "unsupported audio format for ftlp" when the input data has the extension of mp4. I checked the program and found that the example function (int get_format_from_sample_fmt ) only declare the sample format as follows:

You don't need to change anything in the format list. The format list lists the available formats for the codec you are using. If the audio format is not supported, you need to feed in another format. You can change the format using the swresample part of ffmpeg.

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

Reply via email to