Opened 12 years ago
Closed 12 years ago
#3738 closed defect (fixed)
Incorrect end time transcoding ogg vorbis
| Reported by: | Carl Eugen Hoyos | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avformat |
| Version: | git-master | Keywords: | regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
(as reported on irc)
A user provided an ogg file that (shows an incorrect calculated duration and) shows an incorrect end time when transcoded with ffmpeg since c5ea3a00.
Maybe related to tickets #1627, #1678, #3328 and #3553
$ ffmpeg -i 2.ogg out.wav
ffmpeg version N-64177-g957457a Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 23 2014 20:08:48 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 90.100 / 52. 90.100
libavcodec 55. 68.100 / 55. 68.100
libavformat 55. 44.100 / 55. 44.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 9.100 / 4. 9.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[ogg @ 0x31eec20] Estimating duration from bitrate, this may be inaccurate
Input #0, ogg, from '2.ogg':
Duration: 00:00:03.43, start: 0.000000, bitrate: 34 kb/s
Stream #0:0: Audio: vorbis, 24000 Hz, mono, fltp, 34 kb/s
[wav @ 0x31f64a0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Output #0, wav, to 'out.wav':
Metadata:
ISFT : Lavf55.44.100
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz, mono, s16, 384 kb/s
Metadata:
encoder : Lavc55.68.100 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (vorbis (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size= 97kB time=00:00:00.02 bitrate=37373.8kbits/s
video:0kB audio:97kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078326%
$ ffmpeg -i out.wav -f null -
ffmpeg version N-64177-g957457a Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 23 2014 20:08:48 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 90.100 / 52. 90.100
libavcodec 55. 68.100 / 55. 68.100
libavformat 55. 44.100 / 55. 44.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 9.100 / 4. 9.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from 'out.wav':
Metadata:
encoder : Lavf55.44.100
Duration: 00:00:02.07, bitrate: 384 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz, 1 channels, s16, 384 kb/s
[null @ 0x2a653c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf55.44.100
Stream #0:0: Audio: pcm_s16le, 24000 Hz, mono, s16, 384 kb/s
Metadata:
encoder : Lavc55.68.100 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=N/A time=00:00:02.07 bitrate=N/A
video:0kB audio:97kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Attachments (1)
Change History (2)
by , 12 years ago
comment:1 by , 12 years ago
| Component: | undetermined → avformat |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Not reproducible since 215db293