[Libav-user] sample_fmt_entry
Gonzalo Garramuno
ggarra13 at gmail.com
Mon Jul 29 16:20:11 CEST 2013
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.
More information about the Libav-user
mailing list