#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 ocococ, 20 months ago

As attachement seems limited to 2.5 Mo,I uploaded a sample.flac file (28Mo) with videolanfileuploader under ticket #10232.

comment:2 by ocococ, 20 months ago

Here is a dropbox link for the same sample.flac file: https://www.dropbox.com/s/d1wjxin2owtw3ct/sample.flac?dl=0

Version 0, edited 20 months ago by ocococ (next)

comment:3 by ocococ, 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 Balling, 16 months ago

Status: newopen

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 Elon Musk, 16 months ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.