[FFmpeg-trac] #1626(undetermined:new): Initial seek in transport stream with timestamp wrap fails

FFmpeg trac at avcodec.org
Fri Aug 10 11:02:25 CEST 2012


#1626: Initial seek in transport stream with timestamp wrap fails
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:  git-       |  undetermined
  master                             |               Keywords:  mpegts
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 I will attach a transport stream with 169 seconds aac sound. Timestamps
 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-43375-g5d8e54f Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug  9 2012 07:54:23 with gcc 4.3.2 (GCC)
   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 --enable-libass --enable-nonfree --enable-libfaac
 --enable-libopus --enable-libfdk-aac
   libavutil      51. 67.100 / 51. 67.100
   libavcodec     54. 51.100 / 54. 51.100
   libavformat    54. 22.103 / 54. 22.103
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  7.100 /  3.  7.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpegts @ 0x9116500] max_analyze_duration 5000000 reached at 5034667
 [mpegts @ 0x9116500] 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.22.103
     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 @ 0x9116500] PES packet size mismatch
 [aac @ 0x911d380] 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/1626>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list