Opened 8 months ago
Closed 8 months ago
#10917 closed defect (worksforme)
FFmpeg 6.1 causes OOM with big filter_complex
Reported by: | Qwerty812 | Owned by: | |
---|---|---|---|
Priority: | important | Component: | ffmpeg |
Version: | 6.1 | Keywords: | OOM memleak Error |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
FFmpeg causes OOM issue when trying to trim and concat a video sequence from a single source with long filter_complex_script (194 audio and 194 video tracks)
How to reproduce:
% ffmpeg -i video.mp4 -filter_complex_script fil2.txt -map "[v]" -map "[a]" output.mp4 ffmpeg version 6.1.1
This issue occurs only in FFmpeg 6.1.1, I tested on a VM with Ubuntu Server 22.04 with FFmpeg version 4.4.2 and the command executes successfully without OOM
Attachments (1)
Change History (4)
by , 8 months ago
comment:2 by , 8 months ago
Replying to Gyan:
Does it happen with current git master?
Just tried with ffmpeg version git-2024-03-20-dfcf5f8
It works with this version! No OOM error and the video is generated successfully.
comment:3 by , 8 months ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't be reproduced in git master.
filter_complex_script file input