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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Mar 2 18:48:44 EET 2017


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.

Carl Eugen


More information about the ffmpeg-user mailing list