[FFmpeg-trac] #389(avformat:new): Problem seeking in MPEG TS/H.264 files

FFmpeg trac at avcodec.org
Wed Aug 10 17:30:00 CEST 2011


#389: Problem seeking in MPEG TS/H.264 files
----------------------+---------------------
 Reporter:  takis     |        Type:  defect
   Status:  new       |    Priority:  normal
Component:  avformat  |     Version:  git
 Keywords:            |  Blocked By:
 Blocking:            |  Reproduced:  0
 Analyzed:  0         |
----------------------+---------------------
 When seeking to a specific time in a MPEG-TS file, seeking silently fails.

 Thus, av_seek_frame( format_context, videostream, pts, AVSEEK_FLAG_ANY );
 results in a seek to the first timestamp in the file (126000), and
 av_seek_frame returns 0 indicating that the seek succeeded.

 The sample was generated with FFmpeg+libx264.

 ffprobe version N-31788-g0d4ea7b, Copyright (c) 2007-2011 the FFmpeg
 developers
   built on Aug 10 2011 15:46:07 with gcc 4.5.2
   configuration:
   libavutil    51. 11. 1 / 51. 11. 1
   libavcodec   53. 10. 0 / 53. 10. 0
   libavformat  53.  6. 0 / 53.  6. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 28. 1 /  2. 28. 1
   libswscale    2.  0. 0 /  2.  0. 0
 Continuity Check Failed
 Continuity Check Failed
 Continuity Check Failed
 Continuity Check Failed
 Input #0, mpegts, from '/srv/files/videos/seekbug01min.ts':
   Duration: 00:00:00.45, start: 1.400000, bitrate: 178 kb/s
   Program 1
     Metadata:
       service_name    : Big Buck Bunny
       service_provider: FFmpeg
     Stream #0.0[0x100]: Video: h264 (Constrained Baseline), yuv420p,
 320x180 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48 tbc
     Stream #0.1[0x101](und): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s


 PS: The bugreport page indicates that one should upload samples to the
 incoming dir on the ffmpeg ftp server, but there is no incoming dir.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/389>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list