Opened 10 years ago

Closed 10 years ago

#3033 closed defect (fixed)

Wrong Duration For WAV File

Reported by: shensiapoost Owned by:
Priority: important Component: avformat
Version: git-master Keywords: wav duration regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: When I get information on the attached file, which can also be found here: http://people.sc.fsu.edu/~jburkardt/data/wav/thermo.wav, I am presented with the wrong duration time.

How to reproduce:

ffmpeg -i thermo.wav
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
built on Oct  7 2013 00:22:00 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
  configuration: --enable-libfaac --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libtheora
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 34.100 / 55. 34.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100

Attachments (1)

thermo.wav (36.7 KB ) - added by shensiapoost 10 years ago.
WAV file that is giving the wrong duration time

Download all attachments as: .zip

Change History (5)

by shensiapoost, 10 years ago

Attachment: thermo.wav added

WAV file that is giving the wrong duration time

comment:1 by Carl Eugen Hoyos, 10 years ago

Keywords: wav added; WAV incorrect wrong removed

Please test current git head and please post the complete, uncut console output of ffmpeg -i thermo.wav -f null - to make this a valid ticket.

in reply to:  1 comment:2 by shensiapoost, 10 years ago

Replying to cehoyos:

Please test current git head and please post the complete, uncut console output of ffmpeg -i thermo.wav -f null - to make this a valid ticket.

ffmpeg -i thermo.wav -f null -
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers

built on Oct 7 2013 00:22:00 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
configuration: --enable-libfaac --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libtheora
libavutil 52. 46.100 / 52. 46.100
libavcodec 55. 34.100 / 55. 34.100
libavformat 55. 19.100 / 55. 19.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 88.101 / 3. 88.101
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100

Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from 'thermo.wav':

Duration: 03:22:18.14, bitrate: 0 kb/s

Stream #0:0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11025 Hz, mono, u8, 88 kb/s

Output #0, null, to 'pipe:':

Metadata:

encoder : Lavf55.19.100
Stream #0:0: Audio: pcm_s16le, 11025 Hz, mono, s16, 176 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (pcm_u8 -> pcm_s16le)

Press [q] to stop, ? for help
size=N/A time=00:00:03.39 bitrate=N/A
video:0kB audio:73kB subtitle:0 global headers:0kB muxing overhead -100.029351%

comment:3 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavformat
Keywords: regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: 2.0.1git-master

Regression since 6629dbd.

comment:4 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.