#10665: VRAM usage too high in a specific video part.
-------------------------------------+-------------------------------------
             Reporter:  Marcus       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  OOM, gpu,    |               Blocked By:
  hwupload, hwdownload               |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Marcus:

Old description:

> 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)
> }}}
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.

New description:

 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

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10665#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to