[FFmpeg-trac] #9624(undetermined:new): palettegen hangs when input has no duration defined

FFmpeg trac at avcodec.org
Wed Feb 2 12:22:23 EET 2022


#9624: palettegen hangs when input has no duration defined
-------------------------------------+-------------------------------------
             Reporter:  Jozef        |                     Type:  defect
  Chutka                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 FFmpeg hangs in case palettegen is used and input has no explicit
 duration. `-t` is being ignored.

 How to reproduce:

 Be careful, following command hangs my win10 PC and hard restart is
 needed:

 {{{
 % ffmpeg -f lavfi -i color=color=#ffffff:size=100x100:rate=10
 -filter_complex "[0]split[a][b];[a]palettegen[p];[b][p]paletteuse" -t 4 -y
 out.gif
 }}}

 Please notice "-t 4" is used, yet it seems to have no effect on
 palettegen.

 Following works ok:

 {{{
 % ffmpeg -f lavfi -i color=color=#ffffff:size=100x100:rate=10:duration=4
 -filter_complex "[0]split[a][b];[a]palettegen[p];[b][p]paletteuse" -t 4 -y
 out.gif
 }}}

 Not sure this is intended by design or not, but having to restart my
 computer I decided to log as bug.

 Using ffmpeg version 2022-01-24-git-0a83ecbf48-full_build-www.gyan.dev
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9624>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list