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

FFmpeg trac at avcodec.org
Mon Oct 14 07:02:01 CEST 2013


#3047: bits_per_sample is reporting 0 for FLAC files
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  shensiapoost                       |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:  FFprobe      |  master
             Keywords:  FLAC         |               Blocked By:
  bits_per_sample                    |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: When I use ffprobe, the bits_per_sample is 0 for every
 FLAC file that I try. When I open the same files in VLC media player, it
 properly reports the correct bits_per_sample.  Here is where I got one of
 my example files (it is also attached):
 http://download.wavetlan.com/SVV/Media/HTTP/FLAC/ConvertedFiles/BonkEnc/BonkEnc_test4_level3_9m5s_VBR_723kbps_Stereo_44100Hz_16bit.flac

 How to reproduce:
 {{{
 ffprobe -v quiet -print_format json -show_format -show_streams
 BonkEnc_test4_level3_9m5s_VBR_723kbps_Stereo_44100Hz_16bit.flac
 {
     "streams": [
         {
             "index": 0,
             "codec_name": "flac",
             "codec_long_name": "FLAC (Free Lossless Audio Codec)",
             "codec_type": "audio",
             "codec_time_base": "1/44100",
             "codec_tag_string": "[0][0][0][0]",
             "codec_tag": "0x0000",
             "sample_fmt": "s16",
             "sample_rate": "44100",
             "channels": 2,
             "channel_layout": "stereo",
             "bits_per_sample": 0,
             "r_frame_rate": "0/0",
             "avg_frame_rate": "0/0",
             "time_base": "1/44100",
             "duration_ts": 24064128,
             "duration": "545.671837",
             "disposition": {
                 "default": 0,
                 "dub": 0,
                 "original": 0,
                 "comment": 0,
                 "lyrics": 0,
                 "karaoke": 0,
                 "forced": 0,
                 "hearing_impaired": 0,
                 "visual_impaired": 0,
                 "clean_effects": 0,
                 "attached_pic": 0
             }
         }
     ],
     "format": {
         "filename":
 "BonkEnc_test4_level3_9m5s_VBR_723kbps_Stereo_44100Hz_16bit.flac",
         "nb_streams": 1,
         "nb_programs": 0,
         "format_name": "flac",
         "format_long_name": "raw FLAC",
         "duration": "545.671837",
         "size": "49332331",
         "bit_rate": "723252",
         "probe_score": 50
     }
 }
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list