|
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? |
Answered by
Zeugma440
Oct 27, 2021
Replies: 2 comments
|
A - B - |
0 replies
Answer selected by
Aionir
|
BIt depth (bits per sample) is now directly accessible through |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trackdoesn't give you bits per sample directly, but you can calculate it with any of these two methods :A -
1000 * Track.Bitrate / Track.SampleRateB -
8 * Track.TechnicalInfo.AudioDataSize / (Track.Duration * Track.SampleRate)