Opened 12 years ago

Closed 11 years ago

#1675 closed defect (fixed)

ape: wrong current duration

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: ape
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

easier to see with ffplay where playback starts from 1s, not from 0s.

$ ffmpeg -i test.ape -f null -
ffmpeg version N-43846-g168ddcd Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 23 2012 23:35:40 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Input #0, ape, from 'test.ape':
  Duration: 00:00:30.01, start: 0.000000, bitrate: 875 kb/s
    Stream #0:0: Audio: ape (APE  / 0x20455041), 44100 Hz, stereo, s16
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.25.104
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (ape -> pcm_s16le)
Press [q] to stop, [?] for help
size=       0kB time=00:00:31.58 bitrate=   0.0kbits/s
video:0kB audio:5170kB subtitle:0 global headers:0kB muxing overhead -100.000000%

Change History (5)

comment:2 by ami_stuff, 12 years ago

this sample starts to play with current duration at 27s:

http://www.datafilehost.com/download-794675fc.html

comment:3 by Carl Eugen Hoyos, 12 years ago

Keywords: ape added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:4 by Elon Musk, 11 years ago

There is patch for this on libav ml, it may get finally committed some day.

comment:5 by Elon Musk, 11 years ago

Analyzed by developer: set
Component: undeterminedavcodec
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.