Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Beginners Questions • Re: [Software] Do I have to use the multimedia repo to get OBS with NVENC?

$
0
0
Are you talking about deb-multimedia? It is not an official Debian repo. There a many reports of it breaking systems due to incompatible repos and tragic versioning. Do not enable it!

Apparently OBS-Studio uses FFmpeg for encoding and the current version of it and libavcodec support NVENC. See this - https://wiki.debian.org/HardwareVideoAc ... NC.2FNVDEC - and ensure you have the required libnvidia-encode1 package. My Bookworm system reports it is supported for H.264 and HEVC:

Code:

ffmpeg -encoders | grep nv...V....D h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264) V....D hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
I tested it and it works for ffmpeg:

Code:

ffmpeg -i input.mpg -c:v h264_nvenc output.mkv
I didn't find much more specific about OBS support but a couple of posts said if ffmpeg supports it, it should be available in OBS. Possibly it also needs libffmpeg-nvenc-dev headers package as well.
Thank you for trying to help. I installed the libffmpeg-nvenc-dev package then installed OBS-Studio, but still get the same issue when trying to record using the NVENC h.264 encoder option. ffmpeg tells me that I do have working h264 and hevc encoding.

Image

This is an older card (GeForce GT 635) that is supported only by the 470 tesla driver, and I have the nvidia-tesla-470-driver metapackage installed and it works correctly in every other application that uses hardware acceleration. The 470 tesla driver uses an alternative libnvidia-tesla-470-encode1 package instead of the standard one, but I've had OBS running with working NVENC on other distros using the same driver, so I'm not really sure that could be the cause. Trying to install either of the other libnvidia-encode1 packages tries to pull in a lot of new nvidia related packages that I'm pretty positive will break my driver so I'm hesitant to try it. Thank you for warning me about the deb-multimedia repo as I was thinking it was an extra optional repo run by debian because of the name.

Image

Statistics: Posted by Chaussettes — 2024-05-11 16:43



Viewing all articles
Browse latest Browse all 2849

Trending Articles