Opened 3 years ago

Closed 3 years 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 ocococ, 3 years 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, 3 years 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.

Last edited 3 years ago by ocococ (previous) (diff)

comment:3 by ocococ, 3 years 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, 3 years 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, 3 years ago

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