Input #0, wav, from 'Lee.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: 7iGQ3S9p7mlaaaGk
    date            : 2020-07-23
    creation_time   : 14:05:55
    time_reference  : 158865370
  Duration: 00:04:15.83, bitrate: 1422 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 
channels, s16, 1411 kb/s
bits_per_sample=16
bits_per_raw_sample=N/A


When I try on an audio file created with ProTools 

ffprobe -show_streams -show_format Lee.wav | grep bits

On an audio file “bits_per_sample” is what you are after


> On 5 Aug 2020, at 08:41, Paul B Mahol <[email protected]> wrote:
> 
> On 8/5/20, scrutinizer <[email protected]> wrote:
>> The file is AIFF, 24bit/96kHz. I want to get the “24bit” part (or simply
>> “24").
> 
> See bits per raw sample field.
> 
>> 
>>> On 5 Aug 2020, at 03:39, Carl Eugen Hoyos <[email protected]> wrote:
>>> 
>>> 
>>> 
>>>> Am 04.08.2020 um 16:56 schrieb scrutinizer <[email protected]>:
>>>> 
>>>> is it possible to retrieve the bit depth value of an audio-file
>>> 
>>> Depends on the file.
>>> 
>>> Carl Eugen
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> [email protected]
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>> 
>>> To unsubscribe, visit link above, or email
>>> [email protected] with subject "unsubscribe".
>> 
>> _______________________________________________
>> ffmpeg-user mailing list
>> [email protected]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
>> To unsubscribe, visit link above, or email
>> [email protected] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to