-
I don't see a way to get the bits per sample for the specified audio track. Bitrate and Samplerate are provided, however. Is there a way to get this info or is it not supported? |
Beta Was this translation helpful? Give feedback.
Answered by
Zeugma440
Oct 27, 2021
Replies: 2 comments
-
A - B - |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Aionir
-
BIt depth (bits per sample) is now directly accessible through |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Track
doesn't give you bits per sample directly, but you can calculate it with any of these two methods :A -
1000 * Track.Bitrate / Track.SampleRate
B -
8 * Track.TechnicalInfo.AudioDataSize / (Track.Duration * Track.SampleRate)