[FFmpeg-trac] #3708(ffprobe:new): Incorrect duration shown for wav file?

FFmpeg trac at avcodec.org
Mon Jun 9 23:25:53 CEST 2014


#3708: Incorrect duration shown for wav file?
---------------------------------+---------------------------------------
             Reporter:  broham   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffprobe  |                  Version:  unspecified
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+---------------------------------------
 Summary of the bug:
 I have a wav file that has the incorrect duration in the file properties
 (in windows Right Click > Properties > Click Details tab) and when I get
 the duration it shows the incorrect one from the file properties.  If I
 convert the file to an MP3 and then get the duration it shows correctly.

 Why is the duration on the wav file incorrect?

 Below is how I am getting the duration:

 {{{
 ffprobe test.wav
 ffprobe version 2.2.2 Copyright (c) 2007-2014 the FFmpeg developers
   built on May  7 2014 16:26:38 with Apple LLVM version 5.1
 (clang-503.0.40) (based on LLVM 3.4svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.2 --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
 --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
 --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libxvid
   libavutil      52. 66.100 / 52. 66.100
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 33.100 / 55. 33.100
   libavdevice    55. 10.100 / 55. 10.100
   libavfilter     4.  2.100 /  4.  2.100
   libavresample   1.  2.  0 /  1.  2.  0
   libswscale      2.  5.102 /  2.  5.102
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, wav, from 'test.wav':
   Duration: 00:00:02.52, bitrate: 13228 kb/s
     Stream #0:0: Audio: gsm_ms (1[0][0][0] / 0x0031), 8000 Hz, mono, s16,
 13 kb/s

 }}}

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


More information about the FFmpeg-trac mailing list