[FFmpeg-trac] #9810(avformat:new): packet->pts skips forward after a seek
FFmpeg
trac at avcodec.org
Sat Jun 11 04:27:20 EEST 2022
#9810: packet->pts skips forward after a seek
-------------------------------------+-------------------------------------
Reporter: oneway | Type: defect
Status: new | Priority: normal
Component: avformat | Version:
Keywords: seek, jump, | unspecified
skip | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I used ffmpeg-107064-g7adeeff91f UTC compile date: 2022-04-05 to reproduce
this bug.
How to reproduce:
{{{
% ./ffplay -seek_interval 20 skips_after_seek.m4a
ffplay version: ffplay-106494-g1291568c98
built on 2022-04-05
}}}
Start playing and press right arrow once to seek 20 seconds. At ~30s, the
playback time and audio will jump to ~40s, In my application, I noticed
the packet->pts jumps correspondingly after call to av_read_frame().
This only happens with some files, I have only one example from a user so
far, but my application receives a fair amount of complaints about this.
It didn't happen with older versions of ffmpeg, probably < 4.0.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9810>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list