我的显卡是 gtx760 cuda 支持到 11.4
obs 指定编码为 NVIDIA NVENC H.264(FFMPEG) 录制后报错。我想得是能否通过用一个支持旧版 cuda 的 FFMPEG 之类的,但不知道该怎样做。
nvidia-smi 输出
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.223.02 Driver Version: 470.223.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:04:00.0 N/A | N/A |
| 55% 54C P8 N/A / N/A | 338MiB / 1998MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
OBS 输出
warning: [NVENC encoder] nvenc_create_internal failed, trying again without Psycho Visual Tuning
info: ---------------------------------
info: [FFmpeg NVENC encoder: 'advanced_video_recording'] settings:
encoder: NVIDIA NVENC H.264 (FFmpeg)
rate_control: CBR
bitrate: 2500
cqp: 0
keyint: -1
preset: p5
tuning: hq
multipass: qres
profile: high
width: 1364
height: 768
b-frames: 2
psycho-aq: 0
GPU: 0
[h264_nvenc @ 0x55b5c9f8ee00] Driver does not support the required nvenc API version. Required: 12.0 Found: 11.1
[h264_nvenc @ 0x55b5c9f8ee00] The minimum required Nvidia driver for nvenc is 520.56.06 or newer