[FFmpeg-trac] #3047(FFprobe:closed): bits_per_sample is reporting 0 for FLAC files

FFmpeg trac at avcodec.org
Mon Oct 14 16:37:36 CEST 2013

#3047: bits_per_sample is reporting 0 for FLAC files
             Reporter:  shensiapoost  |                    Owner:
                 Type:  defect        |                   Status:  closed
             Priority:  normal        |                Component:  FFprobe
              Version:  git-master    |               Resolution:  invalid
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
Changes (by cehoyos):

 * keywords:  FLAC bits_per_sample =>
 * status:  new => closed
 * resolution:   => invalid


 Afaict, bits_per_sample is only valid for pcm and closely related codecs.
 Perhaps sample_fmt is what you are searching for? A flac file (as
 supported by FFmpeg) can either output s16 or s32 (or s16p or s32p

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3047#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list