Opened 2 years ago

Closed 2 years ago

#9561 closed defect (fixed)

FFmpeg hangs on setpts+fps

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:

Setting setpts=N/60/TB (> 25) followed by fps=60 for a single image input, ffmpeg somehow hangs producing empty 0 bytes output.

How to reproduce:

ffmpeg -f lavfi -i color=size=500x300:rate=60 -filter_complex movie=image.png,setpts=N/60/TB,fps=60,tpad=stop_mode=clone:stop_duration=5[v];[0][v]overlay=eof_action=pass[v] -map [v] -t 10 -y 60.mp4

...changing setpts to value like N/25/TB works ok.

tested with latest version of ffmpeg 631e31773b from https://www.gyan.dev/ffmpeg/builds/

Attachments (1)

image.png (16.4 KB ) - added by Jozef Chutka 2 years ago.

Download all attachments as: .zip

Change History (3)

by Jozef Chutka, 2 years ago

Attachment: image.png added

comment:1 by Elon Musk, 2 years ago

Works fine here, but bug about fps filter giving 0 frames is already reported somewhere.

comment:2 by Elon Musk, 2 years ago

Resolution: fixed
Status: newclosed

Hangs does not happen here, fps bug is reported somewhere else already.

Note: See TracTickets for help on using tickets.