packet->pts skips forward after a seek
|Reported by:||oneway||Owned by:|
|Version:||unspecified||Keywords:||seek, jump, skip|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Description (last modified by )
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.mp3 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.
Here is a link to the sample file used to reproduce: https://drive.google.com/file/d/1UMSQSxdgat-hibQcctJTVWb6RX9g0QG6/view?usp=sharing