Opened 2 years ago

Closed 2 years ago

#9624 closed defect (invalid)

palettegen hangs when input has no duration defined

Reported by: Jozef Chutka Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Jozef Chutka Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (1)

comment:1 by Elon Musk, 2 years ago

Resolution: invalid
Status: newclosed

That is expected by design of providing input of infinite duration.

Note: See TracTickets for help on using tickets.