[FFmpeg-trac] #1607(avformat:new): av_seek_frame() without AVSEEK_FLAG_ANY on mpg files returns success without seeking to a keyframe
FFmpeg
trac at avcodec.org
Sun Aug 5 17:56:23 CEST 2012
#1607: av_seek_frame() without AVSEEK_FLAG_ANY on mpg files returns success
without seeking to a keyframe
------------------------------------+------------------------------------
Reporter: mbradshaw | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by DonMoir):
I don't think the above is the solution and in fact it may break a lot of
applications.
I think the real solution is to make seeking to a timestamp work as it is
supposed to, which is seeking to a keyframe. This would involve
fixing/adding seek code for mpeg related code. I think now it just uses
the generic seek code.
Work arounds for this are clumsy where it probably is fairly easy to fix
for someone knowledgeable in this area. Also, fixing it once in the place
it should be fixed means many others don't have to spend time on it.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1607#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list