markus-perl / ffmpeg-build-script

The FFmpeg build script provides an easy way to build a static FFmpeg on OSX and Linux with non-free codecs included.
MIT License
1.03k stars 333 forks source link

unknown encoder 'hevc_nvenc' #196

Open eoghan2t9 opened 1 year ago

eoghan2t9 commented 1 year ago

Hi guys

I am most likely being stupid however I have just compiled and installed this without any issues bit when I went to re-encode a mkv file from h264 to hevc I get this error

unknown encoder 'hevc_nvenc'

Has anyone else had this and if so know a fix?

misiek08 commented 1 year ago

Probably you didn't have CUDA installed. Quoting README:

These encoders/decoders will only be available if a CUDA installation was found while building the binary. Follow these instructions for installation.

santomet commented 1 year ago

hevc_nvenc is deprecated format. You use nvenc_hevc.