[FFmpeg-trac] #10102(ffmpeg:new): lavfi color background with clear png creating extra frames

FFmpeg trac at avcodec.org
Thu Dec 15 12:38:05 EET 2022


#10102: lavfi color background with clear png creating extra frames
-------------------------------------+-------------------------------------
             Reporter:  seankennett  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  overlay      |               Blocked By:
  image2 filter_complex              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by seankennett):

 Shortest makes it behave better but not perfect, I think it's cutting the
 last frame as it happens to be fully clear image.  Using that option gives
 a length of 2.625 seconds not the desired 2.667.  I have 64 images and in
 the complex filter I limit the color to also be 64 frames, they both have
 the same framerate so they should overlay perfectly.  Theoretically if I
 have 64 frames at 24 fps my video should be 2.6 recurring seconds long.
 Clear PNGs are the issue as when I replace those images with other PNGs
 that are not clear I get the desired outcome.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10102#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list