Opened 3 years ago

Closed 3 years ago

#5268 closed defect (fixed)

very high values for min level in astats metadata output

Reported by: dericed Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: astats
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

The Min Level values of the astats filter's metadata reporting seems a little high. 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000

How to reproduce:

ffprobe -f lavfi -i aevalsrc="sin(440*2*PI*t):s=8000:d=60,astats=metadata=1:reset=1:length=0.4"
ffprobe version N-51172-gd94b11a Copyright (c) 2007-2016 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-ffplay --enable-vda
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.101 / 57. 24.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'aevalsrc=sin(440*2*PI*t):s=8000:d=60,astats=metadata=1:reset=1:length=0.4':
  Duration: N/A, start: 0.000000, bitrate: 512 kb/s
    Stream #0:0: Audio: pcm_f64le, 8000 Hz, mono, dbl, 512 kb/s
[Parsed_astats_1 @ 0x7f88a8c17480] Channel: 1
[Parsed_astats_1 @ 0x7f88a8c17480] DC offset: nan
[Parsed_astats_1 @ 0x7f88a8c17480] Min level: 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Max level: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Min difference: -1.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Max difference: -1.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Mean difference: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Peak level dB: -6153.053111
[Parsed_astats_1 @ 0x7f88a8c17480] RMS level dB: nan
[Parsed_astats_1 @ 0x7f88a8c17480] RMS peak dB: nan
[Parsed_astats_1 @ 0x7f88a8c17480] RMS trough dB: nan
[Parsed_astats_1 @ 0x7f88a8c17480] Crest factor: 1.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Flat factor: nan
[Parsed_astats_1 @ 0x7f88a8c17480] Peak count: 0
[Parsed_astats_1 @ 0x7f88a8c17480] Bit depth: 0
[Parsed_astats_1 @ 0x7f88a8c17480] Overall
[Parsed_astats_1 @ 0x7f88a8c17480] DC offset: nan
[Parsed_astats_1 @ 0x7f88a8c17480] Min level: 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Max level: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Min difference: -1.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Max difference: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Mean difference: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Peak level dB: -6153.053111
[Parsed_astats_1 @ 0x7f88a8c17480] RMS level dB: nan
[Parsed_astats_1 @ 0x7f88a8c17480] RMS peak dB: nan
[Parsed_astats_1 @ 0x7f88a8c17480] RMS trough dB: 3082.547156
[Parsed_astats_1 @ 0x7f88a8c17480] Flat factor: nan
[Parsed_astats_1 @ 0x7f88a8c17480] Peak count: 0.000000
[Parsed_astats_1 @ 0x7f88a8c17480] Bit depth: 0
[Parsed_astats_1 @ 0x7f88a8c17480] Number of samples: 0

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 Changed 3 years ago by richardpl

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.