Opened 13 months ago
Last modified 13 months ago
#10665 new defect
VRAM usage too high in a specific video part.
Reported by: | Marcus | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | OOM, gpu, hwupload, hwdownload |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug: not happens with all videos, but in this specifc one the ffmpeg crashes with out of memory, my personal GPU has 4GB of VRAM but other user reported me that had the same problem with his 12GB VRAM card with some videos.
How to reproduce:
ffmpeg.exe -y -i "test.mkv" -init_hw_device vulkan -vf format=yuv420p,hwupload,libplacebo=w=3840:h=2160:upscaler=ewa_lanczos,hwdownload,format=yuv420p -cq 19 -c:v hevc_nvenc "test-out.mkv"
ffmpeg version N-112750-g6d60cc7baf-20231114 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)
sample uploaded in VideoLAN (filename: test_ticket_10665.mkv)
console output attached in a zip file
I asked more details about the said user that had the problem with his 12GB card, and this is his test:
ffmpeg -y -i "input4.mp4" -init_hw_device vulkan -c:v libx264 -preset fast -crf 28 -c:a copy -c:s mov_text -metadata:s:s:0 language=English -disposition:s:s:0 forced -vf format=yuv420p,hwupload,libplacebo=w=2560:h=1440:upscaler=ewa_lanczos,hwdownload,format=yuv420p "output.mp4"
Attachments (1)
Change History (3)
by , 13 months ago
Attachment: | ffmpeg-log.zip added |
---|
comment:1 by , 13 months ago
Description: | modified (diff) |
---|
comment:2 by , 13 months ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
ffmpeg console output