Am Fr., 9. Aug. 2019 um 17:19 Uhr schrieb Gitanshu Mehndiratta <[email protected]>:
> My target is to convert AAC, fltp format to PCM, S16 format. If you are using the native "aac" decoder, the output is AV_SAMPLE_FMT_FLTP, you have to use either the aresample filter or the libswresample library directly to convert to AV_SAMPLE_FMT_S16. There is also an "aac_fixed" decoder but is provides AV_SAMPLE_FMT_S32P which you also have to convert. Note that the format provided by a decoder is not part of the api, it has changed in the past and may change in the future so it is a good idea to use aresample even if the decoder and encoder (currently) use the same sample format. Carl Eugen _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
