[FFmpeg-trac] #274(avutil:new): av_seek_frame fails on some files.

FFmpeg trac at avcodec.org
Thu Jun 9 15:48:49 CEST 2011


#274: av_seek_frame fails on some files.
-------------------------+---------------------
  Reporter:  krpa        |      Owner:  michael
      Type:  defect      |     Status:  new
  Priority:  normal      |  Component:  avutil
   Version:  git-oldabi  |   Keywords:
Blocked By:              |   Blocking:
Reproduced:  0           |   Analyzed:  0
-------------------------+---------------------
 Hello,
 problem with seeking occurs on specific files when calling
 '''av_seek_frame'''(in_format_ctx, -1, 0, AVSEEK_FLAG_ANY),
 where AVFormatContext *in_format_ctx.
 Looks as it is regression, because mentioned call works with ffmpeg 0.5.2
 ( Originally committed as revision 23300 to
 svn://svn.ffmpeg.org/ffmpeg/branches/0.5 ).
 I reproduced it on test content from mplayerhq, file:
 -
 http://samples.mplayerhq.hu/archive/all/mpeg+mpeg2video+ac3++resolutionchange.mpg

 Input #0, mpeg, from
 '/home/krpa/ab/2011-06-09/mpeg+mpeg2video+ac3++resolutionchange.mpg':
   Duration: 00:00:00.06, start: 0.184278, bitrate: 116480 kb/s
     Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR
 1:1 DAR 16:9], 38810 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s

 also similar error encountered for first-3_MiB-panasonic-busker-video.mts,
 and few other from my content, all of them were mpeg2video and ac3
 encoded.
 For example:

 ffmpeg -i O-MP2TS_HN-1.mpg ffmpeg version git-N-29954-g33651e3, Copyright
 (c) 2000-2011 the FFmpeg developers
   built on Jun  8 2011 15:48:14 with gcc 4.5.2
   configuration: --enable-shared --disable-yasm
   libavutil    50. 41. 0 / 50. 41. 0
   libavcodec   52.121. 0 / 52.121. 0
   libavformat  52.108. 0 / 52.108. 0
   libavdevice  52.  4. 0 / 52.  4. 0
   libavfilter   1. 78. 0 /  1. 78. 0
   libswscale    0. 14. 0 /  0. 14. 0
 Input #0, mpegts, from 'O-MP2TS_HN-1.mpg':
   Duration: 00:01:09.60, start: 0.410067, bitrate: 19893 kb/s
   Program 2
     Stream #0.0[0x21]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR
 1:1 DAR 16:9], 15000 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc
     Stream #0.1[0x24]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
 At least one output file must be specified


 I'm using latest git revision with oldabi.

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


More information about the FFmpeg-trac mailing list