[FFmpeg-user] How to specify Audio bit depth for test sources?

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Mar 2 18:51:14 EET 2017

2017-03-02 17:48 GMT+01:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2017-03-02 16:24 GMT+01:00 Basin Ilya <basinilya at gmail.com>:
>> Hi.
>> Different test sources have different bit depth:
>>     ffplay -f lavfi aevalsrc="0"
>>     # Audio: pcm_f64le
> Output of the aevalsrc filter is AV_SAMPLE_FMT_DBLP.
>>     ffplay -f lavfi anullsrc
>>     # Audio: pcm_u8
> Output of the anullsrc filter is AV_SAMPLE_FMT_U8
> If that is not what you need, you have to use the aformat filter.

Sorry, you have to use the aresample filter with the osf parameter.

See https://ffmpeg.org/ffmpeg-resampler.html

Carl Eugen

More information about the ffmpeg-user mailing list