Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9662 closed defect (duplicate)

The timestamp not correct after seek

Reported by: kerry Owned by:
Priority: important Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Use ffplay to play a static hls address, if there no seek, the timestamp is normally, but if we do seek(press → or ↑) the timestamp will return to zero and then accumulate again, this issue will cause progress bar not correct after seek.

I have found the code may caused this issue in ffmpeg/libavformat/seek.c#732, if cur_dts is valued as seek_timestamp(the seek value), the timestamp will normally even after seek, but this modify may have side effect. So could you analysis this and give a office solution. Thanks.

How to reproduce:

ffplay http://live.ximalaya.com/radio-first-page-app/history/1994/24.m3u8\?start\=1644363000000\&end\=1644368400000

ffplay version 5.0 Copyright (c) 2003-2022 the FFmpeg developers

built with Apple clang version 13.0.0 (clang-1300.0.29.30)

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by kerry, 2 years ago

Resolution: invalid
Status: newclosed

comment:2 by Balling, 2 years ago

Resolution: invalidduplicate
Note: See TracTickets for help on using tickets.