Opened 4 years ago

Closed 4 years ago

#3709 closed defect (duplicate)

Incorrect duration shown for wav file?

Reported by: broham Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

I attempted to upload the problem audio file, but it is too large. I can email it if needed.

Change History (1)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from ffprobe to undetermined
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.