[FFmpeg-trac] #9597(undetermined:new): Missing frames with -stream_loop and -f concat

FFmpeg trac at avcodec.org
Fri Jan 14 21:33:31 EET 2022


#9597: Missing frames with -stream_loop and -f concat
-------------------------------------+-------------------------------------
             Reporter:  bogus        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  4.4.1        |               Resolution:
             Keywords:  stream_loop  |               Blocked By:
  concat                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by bogus:

Old description:

> 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 shuld be 3*4 = 12 frames.
>
> See the attached archive.
>

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

New description:

 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.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9597#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list