[FFmpeg-trac] #10585(avformat:new): Seeking forward in iPhone video ends up seeking backwards
FFmpeg
trac at avcodec.org
Sun Sep 24 00:33:20 EEST 2023
#10585: Seeking forward in iPhone video ends up seeking backwards
----------------------------------+--------------------------------------
Reporter: low-batt | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
Seeking forward by 10 seconds in HEVC video recorded on iPhone causes
playback to resume at an earlier time.
This is a regression.
This report originates from [https://github.com/iina/iina/issues/4502 IINA
issue #4502]
Which was then reported to the mpv project in [https://github.com/mpv-
player/mpv/issues/12047 mpv issue #12047]
User llyyr found the problem was reproducible with FFplay and identified
the following commit as introducing the problem:
[https://github.com/FFmpeg/FFmpeg/commit/ab77b878f1205225c6de1370fb0e998dbcc8bc69
commit ab77b87]
A FFmpeg patch has been submitted by llyyr, who cautions this may not be
the right approach to fix this: [https://ffaux-
bg.ffmpeg.org/project/ffmpeg/patch/20230923111034.6320-2-llyyr.public at gmail.com/
patch 20230923111034]
With that patch I am no longer able to reproduce the seeking backwards
behavior.
'''However''' if I let the video play until the end and then start seeking
back and forth using the arrow keys I can sometimes trigger the following
error:
{{{
FullHD30fps.mov: error while seekingKB vq= 0KB sq= 0B f=0/0
}}}
With and without the patch that will also trigger this message:
{{{
[hevc @ 0x11ce4df20] Multiple Dolby Vision RPUs found in one AU. Skipping
previous.
}}}
The file used to reproduced the problem can be downloaded from
[https://img.photographyblog.com/reviews/apple_iphone_13/sample_images/FullHD30fps.mov
here]
That file is one of the samples in Photography Blog's
[https://www.photographyblog.com/reviews/apple_iphone_13_review Apple
iPhone 13 Review]. Other samples from that review also exhibited the
problem.
How to reproduce:
Start playing the above file with FFplay and as soon as the video starts
playing press the right arrow key to seek forward 10 seconds. Instead of
seeking forwards, playback will resume at an earlier time.
Output was too big to add inline. I will add as an attachment.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10585>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list