[FFmpeg-user] R128 ebur128 filter only for 48kHz?

Christoph Gerstbauer christophgerstbauer at gmail.com
Wed Feb 25 12:38:42 CET 2015


>> What is the actual state of the ebur128 filter? Is just 48kHz still
>> implemented or are there more sampling rates implemented since 2013?
> From a quick look at the libavfilter/v_ebur128.c source file it seems 
> like indeed the filter is only designed for 48kHz and internal 
> re-sampling occurs if you feed an input file with different sample rate.
>
> Maybe you just try it with e.g. 44.1kHz and check with "-loglevel 
> debug" for an auto-inserted resampling filter?
>
Thank you Tobias,

indeed it is just for 48kHz.

Part of the comandline output from via debug-loglevel

[Parsed_ebur128_0 @ 00000000003eff20] auto-inserting filter 
'auto-inserted resampler 0' between the filter 'graph 0 input from 
stream 0:0' and the filter 'Parsed_ebur128_0'
[audio format for output stream 0:0 @ 0000000005358f40] auto-inserting 
filter 'auto-inserted resampler 1' between the filter 'Parsed_ebur128_0' 
and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 000000000542c440] query_formats: 4 queried, 3 merged, 6 
already done, 0 delayed
[auto-inserted resampler 0 @ 00000000003a8640] ch:2 chl:stereo fmt:s32 
r:44100Hz -> ch:2 chl:stereo fmt:dbl r:48000Hz
[SWR @ 000000000039d460] Using double precision mode
[auto-inserted resampler 1 @ 00000000003b0660] [SWR @ 0000000000398f00] 
Using double precision mode
[auto-inserted resampler 1 @ 00000000003b0660] ch:2 chl:stereo fmt:dbl 
r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz

Best
Regards




More information about the ffmpeg-user mailing list