- Nvidia Web Driver
- CUDA Driver
- CUDA Toolkit
- Nvidia Video Codec SDK
p $DocumentDIR/apps/hackintosh/nvidia_video_sdk_6.0.1/Samples/common/inc/nvEncodeAPI.h /usr/local/include
If you are indifferent with openssl support, you can skip first two environment settings and delete
It is quite happy that
nvenc have been correctly recognized by ffmepg’s configure.
So I’m gonna have a test.
So, I failed. The error is [nvenc_h264 @ 0x7fb45903e200] Failed loading CUDA library. By checking ffmpeg’s source code, I found that was produced by the following code.
Intuitively, I only compiled ffmpeg with nvenc’s head file. Since nvenc’s sdk does not exist in my system, it cannot call the API to encode video.