From 6e864249c2025863e18e42587cb42764a99bec27 Mon Sep 17 00:00:00 2001 From: Murilo Date: Thu, 19 Sep 2024 23:07:13 -0300 Subject: [PATCH] nongnu: Add obs-nvenc. * nongnu/packages/video.scm (obs-nvenc): New variable. Signed-off-by: Hilton Chain --- nongnu/packages/video.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nongnu/packages/video.scm b/nongnu/packages/video.scm index 6075646..ce747c5 100644 --- a/nongnu/packages/video.scm +++ b/nongnu/packages/video.scm @@ -222,3 +222,13 @@ codec APIs.") (package-description obs) " This build of OBS includes embeded Chromium-based browser to enable Browser source.")))) + +(define-public obs-nvenc + (let ((obs-ffmpeg-nvenc (replace-ffmpeg-nvenc obs))) + (package/inherit obs-ffmpeg-nvenc + (name "obs-nvenc") + (description + (string-append + (package-description obs) + " This build of OBS includes the nonfree NVIDIA encoder for FFmpeg +@code{h264_nvenc} and @code{hevc_nvenc} hardware encoding on NVIDIA GPUs.")))))