-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test the accuracy and speed of ffmpeg's built in drmeter
filter, perhaps use it for the metric calculation
#4
Comments
Surprisingly, when I use ffmpeg's
test.flac is about 1 hour long, stereo, in CDDA resolution. |
I tried the drmeter filter on ffmpeg but it seems that its not accurate. Sometimes it works just fine (compared to the official tt meter app), both left and right values are correct. But sometimes it just doesn't work. Either one of the values it off by 1 or 2 or just both are wrong. I tried many files and codecs but the result kept being random. Here are some photos where I tested all dr meters I could find side by side (with the exact same file) Perhaps if someone knows C can fix it? |
I get constantly drmeter filter speed faster that this python code. I also improved precision issues in filter itself. |
@richardpl that's good to hear! In that case maybe I could finally switch to ffmpeg for this task and drastically reduce python dependencies (numpy, etc). |
Me too, I would like to reduce a lot of dependencies in my own audio tools. |
Any news, folks? |
not really, I mostly lost interest in this topic but occasionally when I'm curious to check those values for some reason, this script of mine still works fine |
Windows command to calculate DR if anyone needs it: $ ffmpeg -i input.flac -vn -af drmeter -f null - |
The ffmpeg bug mentioned here (https://trac.ffmpeg.org/ticket/10232) seems indeed fixed. |
Which parts of the report can be collected with FFMPEG, and which parts still require Python? DR is possible to get via |
https://www.ffmpeg.org/ffmpeg-filters.html#drmeter
The text was updated successfully, but these errors were encountered: