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

24bit FLAC shown as 32 bits per sample #23

Open
welpo opened this issue Jul 8, 2015 · 8 comments
Open

24bit FLAC shown as 32 bits per sample #23

welpo opened this issue Jul 8, 2015 · 8 comments

Comments

@welpo
Copy link

welpo commented Jul 8, 2015

Tried a couple of different directories with 24 bit FLAC files inside, dr14 T.meter reports '32 bit' in the Bits per sample field.

@simon-r
Copy link
Owner

simon-r commented Jul 8, 2015

Is a problem with ffmpeg, it oversamples to 32bit and print 32bit

@welpo
Copy link
Author

welpo commented Jul 8, 2015

Maybe it's possible to grab the bit depth in some other way to output the proper information?

@simon-r
Copy link
Owner

simon-r commented Jul 8, 2015

The information printed by ffmpeg is always 32bit.
Actually ffmpeg is installed (by default) on all linux distro, and is the most practical way the read the audio metadata.

@magicgoose
Copy link
Contributor

Just tried it

ffprobe some_24_bit_file.flac


Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit)

It's possible to extract true bit depth at least for FLAC, at least with recent ffmpeg/ffprobe

@wcasanova
Copy link

I also get an error with the Bits per sample, everything shows as 32bit.
please fix.
archlinux ffmpeg 4.1

drizzt added a commit to drizzt/dr14_t.meter that referenced this issue Apr 25, 2020
Recent ffprobe give the correct bit depth on 24 bit FLAC:
  Stream #0:0: Audio: flac, 192000 Hz, stereo, s32 (24 bit)
simon-r added a commit that referenced this issue Apr 26, 2020
Get the correct bit depth on 24 bits FLAC (#23)
@fir3-1ce
Copy link

I also have this issue. Does it affect the actual DR results?

@magicgoose
Copy link
Contributor

I also have this issue. Does it affect the actual DR results?

it should not, DR formula is scale-independent

@cvillela
Copy link

Same issue

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

6 participants