patomack
New Member
Hello all,
I have been through quite a few threads on this issue and decided to reach out for some help.
Problem:
When trying to use nvenc in obs to record local video, I get the following error:
Starting the output failed. Please check the log for details.
Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.
The logs show:
10:30:12 PM.112: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Generic error in an external library
Nothing really new here, many posts have had similar issues.
I have followed some direction from different posts, and compiled ffmpeg from source. Here is some useful outputs:
ffmpeg -encoders 2>/dev/null | grep nvenc
V..... h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc_h264 NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc_hevc NVIDIA NVENC hevc encoder (codec hevc)
V..... hevc_nvenc NVIDIA NVENC hevc encoder (codec hevc)
ffmpeg
ffmpeg version N-93543-gbb5efd1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
configuration: --prefix=/home/patrick/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/patrick/ffmpeg_build/include --extra-ldflags=-L/home/patrick/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/patrick/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-nvenc
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 48.101 / 58. 48.101
libavformat 58. 27.100 / 58. 27.100
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
From everything I can see, it looks like my system should support nvenc.
Thank you for any direction/advice.
Details:
OS: Linux Mint 19.1 Tessa x86_64
CPU: Intel i7-6700HQ (8) @ 3.500GHz
GPU: NVIDIA GeForce GTX 1060 Mobile 6GB
NVIDIA Driver Version: 418.56
I have attempted two OBS installations: one from obs website (version 23.0.0) and one from flatpak (23.0.2).
I have been through quite a few threads on this issue and decided to reach out for some help.
Problem:
When trying to use nvenc in obs to record local video, I get the following error:
Starting the output failed. Please check the log for details.
Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.
The logs show:
10:30:12 PM.112: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Generic error in an external library
Nothing really new here, many posts have had similar issues.
I have followed some direction from different posts, and compiled ffmpeg from source. Here is some useful outputs:
ffmpeg -encoders 2>/dev/null | grep nvenc
V..... h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc_h264 NVIDIA NVENC H.264 encoder (codec h264)
V..... nvenc_hevc NVIDIA NVENC hevc encoder (codec hevc)
V..... hevc_nvenc NVIDIA NVENC hevc encoder (codec hevc)
ffmpeg
ffmpeg version N-93543-gbb5efd1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
configuration: --prefix=/home/patrick/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/patrick/ffmpeg_build/include --extra-ldflags=-L/home/patrick/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/patrick/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-nvenc
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 48.101 / 58. 48.101
libavformat 58. 27.100 / 58. 27.100
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
From everything I can see, it looks like my system should support nvenc.
Thank you for any direction/advice.
Details:
OS: Linux Mint 19.1 Tessa x86_64
CPU: Intel i7-6700HQ (8) @ 3.500GHz
GPU: NVIDIA GeForce GTX 1060 Mobile 6GB
NVIDIA Driver Version: 418.56
I have attempted two OBS installations: one from obs website (version 23.0.0) and one from flatpak (23.0.2).
Attachments
Last edited: