Opened 2 years ago

Last modified 2 years ago

#9597 new defect

Missing frames with -stream_loop and -f concat

Reported by: bogus Owned by:
Priority: normal Component: undetermined
Version: 4.4.3 Keywords: stream_loop concat
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by bogus)

Summary of the bug:
I'm creating a looped slideshow video out of jpeg images. The resulting video is missing the first image/frame in all repeated sections.

How to reproduce:

% ffmpeg -stream_loop 3 -r 1 -f concat -i list.txt out.mp4
ffmpeg version 4.4.1
built with gcc 11.2.0 (Rev1, Built by MSYS2 project)

For example, having list.txt like this:

file 'A.jpg'
file 'B.jpg'
file 'C.jpg'

The resulting video contains the following frames : ABC BC BC BC.
It's length is 3+(3-1)*3 = 9 frames, while it should be 3*4 = 12 frames.

See the attached archive.

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

Attachments (1)

issue_demo.zip (37.8 KB ) - added by bogus 2 years ago.

Download all attachments as: .zip

Change History (3)

by bogus, 2 years ago

Attachment: issue_demo.zip added

comment:1 by bogus, 2 years ago

Description: modified (diff)

comment:2 by bogus, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.