Skip to content
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

Noise floor and digital black #15

Open
Soundmatters opened this issue Mar 17, 2023 · 7 comments
Open

Noise floor and digital black #15

Soundmatters opened this issue Mar 17, 2023 · 7 comments

Comments

@Soundmatters
Copy link

Factor out any digital black in the audio data from the calculation of noise floor level.

@dericed
Copy link
Member

dericed commented Apr 25, 2023

so any audio frame that is filled with 0 values should be omitted? or every 0 sample? This may add some processing time as I'd have to run another astats instance but filter out the 0 samples.

@Soundmatters
Copy link
Author

Not sure about this. What would cause the Noise_floor_dB in the csv to report a value of "=-inf" I thought that "=-inf" implied 0 sample value, but after checking a few examples (w/ Audition's Amplitude Statistics) that does not seem to be the case.

@Soundmatters
Copy link
Author

In case you've not seen it, here is an example of that reporting:

Noisefloor_inf_example

@richardpl
Copy link

Try latest ffmpeg version from git, it should have fixed noise floor calculation, no longer uses histogram approach, and was limited to 8192 bins - which caused that very small noise floors would be reported as -inf while in fact they where not 0.

@retokromer
Copy link
Member

@richardpl Do you know if a new version of FFmpeg will be released soonish?

@richardpl
Copy link

Not really, there was plan to release 6.1 in July but overall situation and morale is pretty low since "introduction to mailing list/pushing for committing" of avradio/(Software Defined Radio) directly into FFmpeg.

@retokromer
Copy link
Member

Thank you for the information! This confirms my feelings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants