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

Basin Ilya basinilya at gmail.com
Thu Mar 2 20:37:33 EET 2017


Thank you.

On 02.03.2017 19:51, Carl Eugen Hoyos wrote:
> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> 


More information about the ffmpeg-user mailing list