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

Include bits per sample in log #9

Open
4oo4 opened this issue Apr 11, 2022 · 4 comments
Open

Include bits per sample in log #9

4oo4 opened this issue Apr 11, 2022 · 4 comments

Comments

@4oo4
Copy link

4oo4 commented Apr 11, 2022

It looks like this is included in most other DR meters I've seen, would it be possible to get this added? I think this would just be a matter of parsing it from the output from ffprobe, if I'm reading the code correctly?

Cheers

@magicgoose
Copy link
Owner

magicgoose commented Apr 11, 2022 via email

@4oo4
Copy link
Author

4oo4 commented Apr 12, 2022

Cool, I was wanting it for identification purposes. I will see if I can make a PR for this when I have some time.

@magicgoose
Copy link
Owner

magicgoose commented Apr 12, 2022 via email

@4oo4
Copy link
Author

4oo4 commented Apr 12, 2022

Hmm, that sounds vaguely familiar, I have 32 bit float, and 24/16 bit fixed to test with, I'll see if I can find more info about that.

simon-r/dr14_t.meter#23

EDIT: It looks like it might be from a discrepancy with different fields within ffprobe. There's sample_fmt which is an internal representation and will say 32p for a file that's actually 24-bit, but the correct one we'd want is actually bits_per_raw_sample, per:

https://trac.ffmpeg.org/ticket/5282

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

2 participants