Joshua-Noakes1 / Teardown-nvenc

FFMPEG Teardown NVENC script
The Unlicense
5 stars 0 forks source link

No decoder surfaces left, cannot allocate memory #3

Closed Joshua-Noakes1 closed 2 years ago

Joshua-Noakes1 commented 2 years ago

"Doesnt work, it constantly says No decoder surfaces left, cannot allocate memory

output is first frame and sounds. gpu is 3070. pls help" - Odd_Ad9780

https://www.reddit.com/r/TeardownGame/comments/t5wvgx/comment/hzaz7j0/?utm_source=share&utm_medium=web2x&context=3

Joshua-Noakes1 commented 2 years ago

fixed by adding -extra_hw_frames 2 before file input - https://stackoverflow.com/a/68061732

Joshua-Noakes1 commented 2 years ago

Didn't fix it apparently

sirbnjmn commented 2 years ago

Screenshot of issue occurring image

Joshua-Noakes1 commented 2 years ago

FFmpeg needs to have NVENC support at build