Ticket #274 (closed defect: needs_more_info)

Opened 2 years ago

Last modified 17 months ago

av_seek_frame fails on some files.

Reported by: krpa Owned by:
Priority: normal Component: avformat
Version: git-oldabi Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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:

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.

Change History

comment:1 Changed 2 years ago by michael

  • Owner michael deleted
  • Status changed from new to open
  • Component changed from avutil to avformat

If this still happens with current oldabi, please find out which revission exactly broke it.
git bisect should help here. Also if possible test git-master

comment:2 Changed 17 months ago by cehoyos

  • Status changed from open to closed
  • Resolution set to needs_more_info

Please reopen if this issue is still reproducible and/or if you are able to provide the missing information.

Note: See TracTickets for help on using tickets.