ffmpegcv icon indicating copy to clipboard operation
ffmpegcv copied to clipboard

preset default set 'p2' when use nvenc_hevc encoder will get error

Open Yshelgi opened this issue 7 months ago • 4 comments

When i use hevc as videowrite encoder and not set preset,i get error as pic image

from this error, i track the code and find the default preset = p2 in ffmpeg_writer.py image

I use ffmpeg -h encoder=nvenc_hevc to check preset,but 'p2' is not in options image

In order to solve this problem, either force the preset parameter to be set, or modify the default value setting here in the source code.

Yshelgi avatar Jul 12 '24 06:07 Yshelgi