Opened 20 months ago
Closed 16 months ago
#10232 closed defect (fixed)
drmeter filter can return invalid DR value (negative or nan)
Reported by: | ocococ | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | 5.1.2 | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
With some of my .flac files, value returned by drmeter filter can be negative or even "nan", using ffmpeg version 5.1.2 built on macos 12.6.3, running on M2 processor.
How to reproduce:
% ffmpeg -hide_banner -i sample.flac -af drmeter -f null - 2>&1 | grep -Eo 'Overall DR: .+'
Change History (5)
comment:1 by , 20 months ago
comment:2 by , 20 months ago
Here is a dropbox link for the same sample.flac file: https://www.dropbox.com/s/oxhgid12glos0qc/sample.flac?dl=0
This returns -23 as DR value.
comment:3 by , 16 months ago
I can confirm the problem still exists with version 6.0.
I also added another sample file here: https://www.dropbox.com/scl/fi/brzfbjyj3w74d99iul9na/sample2.flac?dl=0&rlkey=xwu0i85noyx0n58o08zajr058
This returns -74 as DR value.
comment:4 by , 16 months ago
Status: | new → open |
---|
Yep.
[Parsed_drmeter_0 @ 0000026f9b5c8500] Channel 1: DR: -74.8754
[Parsed_drmeter_0 @ 0000026f9b5c8500] Channel 2: DR: -74.3311
[Parsed_drmeter_0 @ 0000026f9b5c8500] Overall DR: -74.6032
comment:5 by , 16 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in 238ec0c31bea6da9a9124edb1d7beb68d54f9d9b.
As attachement seems limited to 2.5 Mo,I uploaded a sample.flac file (28Mo) with videolanfileuploader under ticket #10232.