[FFmpeg-trac] #1438(avformat:open): Seeking in vob file with timestamp wrap fails
FFmpeg
trac at avcodec.org
Mon Jul 16 12:39:46 CEST 2012
#1438: Seeking in vob file with timestamp wrap fails
--------------------------------------+------------------------------------
Reporter: superandrzej | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mpegps seek | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by cehoyos):
I attached a transport stream that may or may not have a related problem:
169 seconds aac sound with a timestamp wrap approximately in the middle.
The resulting file is ~0.2 seconds long.
{{{
$ ffmpeg -ss 1 -i timestamp_wrap.ts out.wav
ffmpeg version N-42547-g7543fd8 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jul 16 2012 07:44:51 with gcc 4.3.2
configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
--enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
--enable-x11grab
libavutil 51. 65.100 / 51. 65.100
libavcodec 54. 40.100 / 54. 40.100
libavformat 54. 16.104 / 54. 16.104
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 2.100 / 3. 2.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[mpegts @ 0x904d3c0] max_analyze_duration 5000000 reached at 5034667
[mpegts @ 0x904d3c0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'timestamp_wrap.ts':
Duration: 00:02:49.21, start: 95364.014889, bitrate: 121 kb/s
Program 20001
Program 20002
Program 20003
Program 20011
Program 20012
Stream #0:0[0x20](deu): Audio: aac ([15][0][0][0] / 0x000F), 24000 Hz,
stereo, s16, 56 kb/s (clean effects)
Program 20013
Output #0, wav, to 'out.wav':
Metadata:
encoder : Lavf54.16.104
Stream #0:0(deu): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz,
stereo, s16, 768 kb/s (clean effects)
Stream mapping:
Stream #0:0 -> #0:0 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[mpegts @ 0x904d3c0] PES packet size mismatch
[aac @ 0x9054220] Input buffer exhausted before END element found
Error while decoding stream #0:0: Operation not permitted
size= 20kB time=-26:-27:-55.-28 bitrate= -0.0kbits/s
video:0kB audio:20kB subtitle:0 global headers:0kB muxing overhead
0.224609%
}}}
Seeking in timestamp_wrap.ts with ffplay works very well, both mplayer
-demuxer mpegts and mplayer -demuxer lavf mostly fail to seek.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1438#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list