[FFmpeg-trac] #7812(documentation:reopened): ebur128 filter doc should mention it changes sample rate (was: Replaygain audio filter reports different peak values for the same file)

FFmpeg trac at avcodec.org
Fri Mar 29 23:57:30 EET 2019


#7812: ebur128 filter doc should mention it changes sample rate
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  ahthovaikied                       |
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  documentation
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by ahthovaikied):

 * status:  closed => reopened
 * resolution:  invalid =>
 * component:  avfilter => documentation


Comment:

 With full debug output:

 {{{
 $ ffmpeg -loglevel debug -i 3_45.flac -af ebur128 -f null /dev/null
 ffmpeg version 4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 8.2.1 (GCC) 20181127
   configuration: --prefix=/usr --extra-cflags=-I/opt/cuda/include --extra-
 ldflags='-L/opt/cuda/lib64 -Wl,-rpath
 -Wl,/opt/intel/mediasdk/lib64:/opt/intel/mediasdk/plugins'
 --toolchain=hardened --disable-rpath --enable-gpl --enable-version3
 --enable-nonfree --disable-static --disable-stripping --enable-shared
 --enable-swresample --enable-cuda-sdk --enable-libnpp --enable-libmfx
 --enable-ffnvcodec --enable-libdrm --enable-libmfx --enable-nvenc
 --enable-nvdec --enable-omx --enable-omx-rpi --enable-alsa --enable-
 avisynth --enable-chromaprint --enable-decoder=atrac3 --enable-
 decoder=atrac3p --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gpl --enable-gray --enable-iconv --enable-ladspa --enable-libaom
 --enable-libass --enable-libcodec2 --enable-libbluray --enable-libbs2b
 --enable-libcaca --enable-libcdio --enable-libcelt --enable-libcodec2
 --enable-libdavs2 --enable-libdc1394 --enable-libfdk-aac --enable-
 libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-
 libiec61883 --enable-libilbc --enable-libjack --enable-libklvanc --enable-
 libkvazaar --enable-liblensfun --enable-libmodplug --enable-libmp3lame
 --enable-libmysofa --enable-libndi_newtek --enable-libopencore-amrnb
 --enable-libopencore-amrwb --disable-libopencv --enable-libopenh264
 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
 libpulse --enable-librsvg --enable-librubberband --enable-librtmp
 --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
 --disable-libsrt --enable-libssh --enable-libtensorflow --enable-
 libtesseract --enable-libtheora --enable-libtwolame --enable-libv4l2
 --enable-libvidstab --disable-libvmaf --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxavs2 --enable-
 libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape
 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq
 --enable-libzvbi --enable-lv2 --enable-lzma --enable-openal --enable-
 opencl --enable-opengl --enable-openssl --enable-rkmpp --enable-sndio
 --enable-sdl2 --enable-vapoursynth --enable-v4l2-m2m --enable-vaapi
 --enable-vdpau --enable-xlib --enable-zlib
   libavutil      56. 22.100 / 56. 22.100
   libavcodec     58. 35.100 / 58. 35.100
   libavformat    58. 20.100 / 58. 20.100
   libavdevice    58.  5.100 / 58.  5.100
   libavfilter     7. 40.101 /  7. 40.101
   libswscale      5.  3.100 /  5.  3.100
   libswresample   3.  3.100 /  3.  3.100
   libpostproc    55.  3.100 / 55.  3.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-i' ... matched as input url with argument '3_45.flac'.
 Reading option '-af' ... matched as option 'af' (set audio filters) with
 argument 'ebur128'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'null'.
 Reading option '/dev/null' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input url 3_45.flac.
 Successfully parsed a group of options.
 Opening an input file: 3_45.flac.
 [NULL @ 0x55ed7084ae40] Opening '3_45.flac' for reading
 [file @ 0x55ed7084ba00] Setting default whitelist 'file,crypto'
 [flac @ 0x55ed7084ae40] Format flac probed with size=2048 and score=100
 [flac @ 0x55ed7084ae40] Before avformat_find_stream_info() pos: 8322 bytes
 read:32768 seeks:0 nb_streams:1
 [flac @ 0x55ed7084ae40] All info found
 [flac @ 0x55ed7084ae40] After avformat_find_stream_info() pos: 128000
 bytes read:131072 seeks:0 frames:1
 Input #0, flac, from '3_45.flac':
   Duration: 00:00:15.00, start: 0.000000, bitrate: 1150 kb/s
     Stream #0:0, 1, 1/44100: Audio: flac, 44100 Hz, stereo, s16
 Successfully opened the file.
 Parsing a group of options: output url /dev/null.
 Applying option af (set audio filters) with argument ebur128.
 Applying option f (force format) with argument null.
 Successfully parsed a group of options.
 Opening an output file: /dev/null.
 Successfully opened the file.
 detected 12 logical cores
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
     Last message repeated 12 times
 [Parsed_ebur128_0 @ 0x55ed7084f480] EBU +9 scale
 [graph_0_in_0_0 @ 0x55ed70905880] Setting 'time_base' to value '1/44100'
 [graph_0_in_0_0 @ 0x55ed70905880] Setting 'sample_rate' to value '44100'
 [graph_0_in_0_0 @ 0x55ed70905880] Setting 'sample_fmt' to value 's16'
 [graph_0_in_0_0 @ 0x55ed70905880] Setting 'channel_layout' to value '0x3'
 [graph_0_in_0_0 @ 0x55ed70905880] tb:1/44100 samplefmt:s16
 samplerate:44100 chlayout:0x3
 [format_out_0_0 @ 0x55ed70905b40] Setting 'sample_fmts' to value 's16'
 [Parsed_ebur128_0 @ 0x55ed7084f480] auto-inserting filter
 'auto_resampler_0' between the filter 'graph_0_in_0_0' and the filter
 'Parsed_ebur128_0'
 [format_out_0_0 @ 0x55ed70905b40] auto-inserting filter 'auto_resampler_1'
 between the filter 'Parsed_ebur128_0' and the filter 'format_out_0_0'
 [AVFilterGraph @ 0x55ed708ec940] query_formats: 4 queried, 3 merged, 6
 already done, 0 delayed
 [auto_resampler_0 @ 0x55ed70908340] [SWR @ 0x55ed709087c0] Using fltp
 internally between filters
 [auto_resampler_0 @ 0x55ed70908340] ch:2 chl:stereo fmt:s16 r:44100Hz ->
 ch:2 chl:stereo fmt:dbl r:48000Hz
 [auto_resampler_1 @ 0x55ed7091db00] [SWR @ 0x55ed7091df80] Using dblp
 internally between filters
 [auto_resampler_1 @ 0x55ed7091db00] ch:2 chl:stereo fmt:dbl r:48000Hz ->
 ch:2 chl:stereo fmt:s16 r:48000Hz
 Output #0, null, to '/dev/null':
   Metadata:
     encoder         : Lavf58.20.100
     Stream #0:0, 0, 1/48000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536
 kb/s
     Metadata:
       encoder         : Lavc58.35.100 pcm_s16le
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.0999792  TARGET:-23 LUFS
 M:-120.7 S:-120.7     I: -70.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.199979   TARGET:-23 LUFS
 M:-120.7 S:-120.7     I: -70.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.299979   TARGET:-23 LUFS
 M:-120.7 S:-120.7     I: -70.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.399979   TARGET:-23 LUFS    M:
 -8.1 S:-120.7     I:  -8.1 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.499979   TARGET:-23 LUFS    M:
 -7.8 S:-120.7     I:  -8.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.599979   TARGET:-23 LUFS    M:
 -6.3 S:-120.7     I:  -7.3 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.699979   TARGET:-23 LUFS    M:
 -5.8 S:-120.7     I:  -6.9 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.799979   TARGET:-23 LUFS    M:
 -5.4 S:-120.7     I:  -6.6 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.899979   TARGET:-23 LUFS    M:
 -5.0 S:-120.7     I:  -6.3 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 0.999979   TARGET:-23 LUFS    M:
 -5.5 S:-120.7     I:  -6.1 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.09998    TARGET:-23 LUFS    M:
 -5.0 S:-120.7     I:  -6.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.19998    TARGET:-23 LUFS    M:
 -4.7 S:-120.7     I:  -5.8 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.29998    TARGET:-23 LUFS    M:
 -4.5 S:-120.7     I:  -5.7 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.39998    TARGET:-23 LUFS    M:
 -3.9 S:-120.7     I:  -5.5 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.49998    TARGET:-23 LUFS    M:
 -3.5 S:-120.7     I:  -5.3 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.59998    TARGET:-23 LUFS    M:
 -3.3 S:-120.7     I:  -5.1 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.69998    TARGET:-23 LUFS    M:
 -3.2 S:-120.7     I:  -4.9 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.79998    TARGET:-23 LUFS    M:
 -3.5 S:-120.7     I:  -4.8 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.89998    TARGET:-23 LUFS    M:
 -4.3 S:-120.7     I:  -4.8 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 1.99998    TARGET:-23 LUFS    M:
 -4.9 S:-120.7     I:  -4.8 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.09998    TARGET:-23 LUFS    M:
 -5.5 S:-120.7     I:  -4.8 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.19998    TARGET:-23 LUFS    M:
 -6.0 S:-120.7     I:  -4.9 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.29998    TARGET:-23 LUFS    M:
 -6.4 S:-120.7     I:  -4.9 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.39998    TARGET:-23 LUFS    M:
 -7.0 S:-120.7     I:  -5.0 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.49998    TARGET:-23 LUFS    M:
 -7.1 S:-120.7     I:  -5.1 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.59998    TARGET:-23 LUFS    M:
 -6.6 S:-120.7     I:  -5.1 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.69998    TARGET:-23 LUFS    M:
 -6.5 S:-120.7     I:  -5.2 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.79998    TARGET:-23 LUFS    M:
 -6.4 S:-120.7     I:  -5.2 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.89998    TARGET:-23 LUFS    M:
 -6.5 S:-120.7     I:  -5.3 LUFS       LRA:   0.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 2.99998    TARGET:-23 LUFS    M:
 -6.8 S:  -5.5     I:  -5.3 LUFS       LRA:  20.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.09998    TARGET:-23 LUFS    M:
 -6.8 S:  -5.4     I:  -5.4 LUFS       LRA:  20.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.19998    TARGET:-23 LUFS    M:
 -6.5 S:  -5.4     I:  -5.4 LUFS       LRA:  20.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.29998    TARGET:-23 LUFS    M:
 -6.4 S:  -5.4     I:  -5.4 LUFS       LRA:  20.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.39998    TARGET:-23 LUFS    M:
 -6.3 S:  -5.3     I:  -5.5 LUFS       LRA:   0.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.49998    TARGET:-23 LUFS    M:
 -6.5 S:  -5.3     I:  -5.5 LUFS       LRA:   0.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.59998    TARGET:-23 LUFS    M:
 -7.0 S:  -5.5     I:  -5.5 LUFS       LRA:   0.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.69998    TARGET:-23 LUFS    M:
 -7.2 S:  -5.5     I:  -5.6 LUFS       LRA:   0.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.79998    TARGET:-23 LUFS    M:
 -7.4 S:  -5.5     I:  -5.6 LUFS       LRA:   0.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.89998    TARGET:-23 LUFS    M:
 -7.3 S:  -5.6     I:  -5.7 LUFS       LRA:   0.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 3.99998    TARGET:-23 LUFS    M:
 -7.3 S:  -5.7     I:  -5.7 LUFS       LRA:   0.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.09998    TARGET:-23 LUFS    M:
 -7.0 S:  -5.8     I:  -5.7 LUFS       LRA:   0.5 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.19998    TARGET:-23 LUFS    M:
 -6.6 S:  -5.8     I:  -5.7 LUFS       LRA:   0.5 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.29998    TARGET:-23 LUFS    M:
 -6.5 S:  -5.9     I:  -5.8 LUFS       LRA:   0.6 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.39998    TARGET:-23 LUFS    M:
 -6.1 S:  -6.1     I:  -5.8 LUFS       LRA:   0.6 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.49998    TARGET:-23 LUFS    M:
 -6.0 S:  -6.3     I:  -5.8 LUFS       LRA:   0.8 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.59998    TARGET:-23 LUFS    M:
 -5.7 S:  -6.2     I:  -5.8 LUFS       LRA:   0.9 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.69998    TARGET:-23 LUFS    M:
 -5.5 S:  -6.3     I:  -5.8 LUFS       LRA:   0.9 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.79998    TARGET:-23 LUFS    M:
 -5.5 S:  -6.5     I:  -5.8 LUFS       LRA:   1.0 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.89998    TARGET:-23 LUFS    M:
 -5.6 S:  -6.5     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 4.99998    TARGET:-23 LUFS    M:
 -6.0 S:  -6.4     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.09998    TARGET:-23 LUFS    M:
 -6.1 S:  -6.4     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.19998    TARGET:-23 LUFS    M:
 -5.9 S:  -6.5     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.29998    TARGET:-23 LUFS    M:
 -5.9 S:  -6.4     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.39998    TARGET:-23 LUFS    M:
 -5.9 S:  -6.3     I:  -5.8 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.49998    TARGET:-23 LUFS    M:
 -6.3 S:  -6.3     I:  -5.8 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.59998    TARGET:-23 LUFS    M:
 -7.2 S:  -6.5     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.69998    TARGET:-23 LUFS    M:
 -7.5 S:  -6.5     I:  -5.8 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.79998    TARGET:-23 LUFS    M:
 -7.5 S:  -6.4     I:  -5.9 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.89998    TARGET:-23 LUFS    M:
 -7.5 S:  -6.4     I:  -5.9 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 5.99998    TARGET:-23 LUFS    M:
 -7.4 S:  -6.6     I:  -5.9 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.09998    TARGET:-23 LUFS    M:
 -7.5 S:  -6.6     I:  -5.9 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.19998    TARGET:-23 LUFS    M:
 -7.4 S:  -6.5     I:  -5.9 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.29998    TARGET:-23 LUFS    M:
 -7.3 S:  -6.5     I:  -6.0 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.39998    TARGET:-23 LUFS    M:
 -6.9 S:  -6.7     I:  -6.0 LUFS       LRA:   1.1 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.49998    TARGET:-23 LUFS    M:
 -6.7 S:  -6.6     I:  -6.0 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.59998    TARGET:-23 LUFS    M:
 -6.6 S:  -6.5     I:  -6.0 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.69998    TARGET:-23 LUFS    M:
 -6.7 S:  -6.5     I:  -6.0 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.79998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.6     I:  -6.0 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.89998    TARGET:-23 LUFS    M:
 -7.4 S:  -6.7     I:  -6.0 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 6.99998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.4     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.09998    TARGET:-23 LUFS    M:
 -6.9 S:  -6.5     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.19998    TARGET:-23 LUFS    M:
 -6.7 S:  -6.6     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.29998    TARGET:-23 LUFS    M:
 -6.3 S:  -6.6     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.39998    TARGET:-23 LUFS    M:
 -6.7 S:  -6.5     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.49998    TARGET:-23 LUFS    M:
 -6.6 S:  -6.6     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.59998    TARGET:-23 LUFS    M:
 -6.3 S:  -6.8     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.69998    TARGET:-23 LUFS    M:
 -6.3 S:  -6.8     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.79998    TARGET:-23 LUFS    M:
 -6.4 S:  -6.7     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.89998    TARGET:-23 LUFS    M:
 -6.4 S:  -6.7     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 7.99998    TARGET:-23 LUFS    M:
 -6.6 S:  -6.8     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.09998    TARGET:-23 LUFS    M:
 -6.7 S:  -6.8     I:  -6.1 LUFS       LRA:   1.2 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.19998    TARGET:-23 LUFS    M:
 -6.5 S:  -6.8     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.29998    TARGET:-23 LUFS    M:
 -6.6 S:  -6.8     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.39998    TARGET:-23 LUFS    M:
 -6.3 S:  -6.9     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.49998    TARGET:-23 LUFS    M:
 -6.5 S:  -6.9     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.59998    TARGET:-23 LUFS    M:
 -6.6 S:  -6.7     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.69998    TARGET:-23 LUFS    M:
 -6.8 S:  -6.7     I:  -6.1 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.79998    TARGET:-23 LUFS    M:
 -7.2 S:  -6.9     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.89998    TARGET:-23 LUFS    M:
 -7.4 S:  -6.8     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 8.99998    TARGET:-23 LUFS    M:
 -7.2 S:  -6.7     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.09998    TARGET:-23 LUFS    M:
 -7.2 S:  -6.7     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.19998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.8     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.29998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.8     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.39998    TARGET:-23 LUFS    M:
 -7.3 S:  -6.7     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.49998    TARGET:-23 LUFS    M:
 -7.2 S:  -6.7     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.59998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.9     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.69998    TARGET:-23 LUFS    M:
 -6.9 S:  -6.8     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.79998    TARGET:-23 LUFS    M:
 -6.8 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.89998    TARGET:-23 LUFS    M:
 -6.9 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 9.99998    TARGET:-23 LUFS    M:
 -7.1 S:  -6.9     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.1       TARGET:-23 LUFS    M:
 -7.0 S:  -6.9     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.2       TARGET:-23 LUFS    M:
 -6.9 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.3       TARGET:-23 LUFS    M:
 -6.7 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.4       TARGET:-23 LUFS    M:
 -6.5 S:  -6.9     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.5       TARGET:-23 LUFS    M:
 -6.4 S:  -6.8     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.6       TARGET:-23 LUFS    M:
 -6.3 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.7       TARGET:-23 LUFS    M:
 -6.3 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.8       TARGET:-23 LUFS    M:
 -6.1 S:  -6.8     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 10.9       TARGET:-23 LUFS    M:
 -6.0 S:  -6.8     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11         TARGET:-23 LUFS    M:
 -6.2 S:  -6.6     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.1       TARGET:-23 LUFS    M:
 -5.9 S:  -6.6     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.2       TARGET:-23 LUFS    M:
 -5.8 S:  -6.7     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.3       TARGET:-23 LUFS    M:
 -5.7 S:  -6.6     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.4       TARGET:-23 LUFS    M:
 -5.5 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.5       TARGET:-23 LUFS    M:
 -5.8 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.6       TARGET:-23 LUFS    M:
 -5.7 S:  -6.6     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.7       TARGET:-23 LUFS    M:
 -5.7 S:  -6.5     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.8       TARGET:-23 LUFS    M:
 -5.9 S:  -6.3     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 11.9       TARGET:-23 LUFS    M:
 -6.1 S:  -6.3     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12         TARGET:-23 LUFS    M:
 -6.5 S:  -6.5     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.1       TARGET:-23 LUFS    M:
 -7.0 S:  -6.5     I:  -6.2 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.2       TARGET:-23 LUFS    M:
 -6.9 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.3       TARGET:-23 LUFS    M:
 -6.8 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.4       TARGET:-23 LUFS    M:
 -6.7 S:  -6.4     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.5       TARGET:-23 LUFS    M:
 -6.7 S:  -6.4     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.6       TARGET:-23 LUFS    M:
 -7.1 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.7       TARGET:-23 LUFS    M:
 -7.3 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.8       TARGET:-23 LUFS    M:
 -7.0 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 12.9       TARGET:-23 LUFS    M:
 -6.9 S:  -6.4     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13         TARGET:-23 LUFS    M:
 -6.7 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [flac @ 0x55ed7084ae40] first_dts 0 not matching first dts 626688 (pts
 626688, duration 4096) in the queue
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.1       TARGET:-23 LUFS    M:
 -6.8 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.2       TARGET:-23 LUFS    M:
 -7.3 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.3       TARGET:-23 LUFS    M:
 -7.6 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.4       TARGET:-23 LUFS    M:
 -7.0 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.5       TARGET:-23 LUFS    M:
 -6.6 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.6       TARGET:-23 LUFS    M:
 -6.2 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.7       TARGET:-23 LUFS    M:
 -6.1 S:  -6.5     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.8       TARGET:-23 LUFS    M:
 -5.8 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 13.9       TARGET:-23 LUFS    M:
 -5.6 S:  -6.3     I:  -6.3 LUFS       LRA:   1.4 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14         TARGET:-23 LUFS    M:
 -5.4 S:  -6.4     I:  -6.3 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.1       TARGET:-23 LUFS    M:
 -5.1 S:  -6.4     I:  -6.3 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.2       TARGET:-23 LUFS    M:
 -5.2 S:  -6.2     I:  -6.3 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.3       TARGET:-23 LUFS    M:
 -4.6 S:  -6.1     I:  -6.3 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.4       TARGET:-23 LUFS    M:
 -4.2 S:  -6.1     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.5       TARGET:-23 LUFS    M:
 -4.0 S:  -6.0     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.6       TARGET:-23 LUFS    M:
 -4.1 S:  -5.9     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.7       TARGET:-23 LUFS    M:
 -4.7 S:  -5.9     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.8       TARGET:-23 LUFS    M:
 -5.2 S:  -6.0     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 14.9       TARGET:-23 LUFS    M:
 -5.8 S:  -6.0     I:  -6.2 LUFS       LRA:   1.3 LU
 [Parsed_ebur128_0 @ 0x55ed7084f480] t: 15         TARGET:-23 LUFS    M:
 -6.0 S:  -5.9     I:  -6.2 LUFS       LRA:   1.3 LU
 [out_0_0 @ 0x55ed70906780] EOF on sink link out_0_0:default.
 No more output streams to write to, finishing.
 size=N/A time=00:00:15.00 bitrate=N/A speed= 237x
 video:0kB audio:2812kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Input file #0 (3_45.flac):
   Input stream #0:0 (audio): 162 packets read (2149163 bytes); 162 frames
 decoded (661500 samples);
   Total: 162 packets (2149163 bytes) demuxed
 Output file #0 (/dev/null):
   Output stream #0:0 (audio): 163 frames encoded (720000 samples); 163
 packets muxed (2880000 bytes);
   Total: 163 packets (2880000 bytes) muxed
 162 frames successfully decoded, 0 decoding errors
 [Parsed_ebur128_0 @ 0x55ed7084f480] Summary:

   Integrated loudness:
     I:          -6.2 LUFS
     Threshold: -16.2 LUFS

   Loudness range:
     LRA:         1.3 LU
     Threshold: -26.4 LUFS
     LRA low:    -6.8 LUFS
     LRA high:   -5.5 LUFS
 [AVIOContext @ 0x55ed70853dc0] Statistics: 2157485 bytes read, 0 seeks
 }}}

 This log clearly show tht input is 44.1 KHz and the output 48 Khz.

 The sample format is changed back to `s16` but not the sample rate:
 {{{
 [auto_resampler_0 @ 0x55ed70908340] [SWR @ 0x55ed709087c0] Using fltp
 internally between filters
 [auto_resampler_0 @ 0x55ed70908340] ch:2 chl:stereo fmt:s16 r:44100Hz ->
 ch:2 chl:stereo fmt:dbl r:48000Hz
 [auto_resampler_1 @ 0x55ed7091db00] [SWR @ 0x55ed7091df80] Using dblp
 internally between filters
 [auto_resampler_1 @ 0x55ed7091db00] ch:2 chl:stereo fmt:dbl r:48000Hz ->
 ch:2 chl:stereo fmt:s16 r:48000Hz
 }}}

 Which therefore contradicts the doc as quoted above.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7812#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list