me
/
guix
Archived
1
0
Fork 0

gnu: Add obs-multi-rtmp.

* gnu/packages/video.scm (obs-multi-rtmp): New variable.

Change-Id: I5e5b2cd59cd9f5e9aeb4c7b51452b0e24f10f3ca
master
Oleg Pykhalov 2024-08-04 12:13:04 +03:00
parent e2d7460459
commit e482d04d0f
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 43 additions and 0 deletions

View File

@ -4285,6 +4285,49 @@ your host privately.")
during scene transition.")
(license license:gpl2)))
(define-public obs-multi-rtmp
(package
(name "obs-multi-rtmp")
(version "0.3.0.2-OBS29.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sorayuki/obs-multi-rtmp")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"192zkihn3ahh93fn3mkpbx7apa04lmcxc637hpxwkivdjbq3nbk3"))))
(build-system cmake-build-system)
(arguments
(list
#:modules '((guix build cmake-build-system)
(guix build utils))
#:tests? #f ;no tests
#:configure-flags
#~(list (string-append "-DLIBOBS_INCLUDE_DIR="
#$(this-package-input "obs") "/lib")
"-DBUILD_OUT_OF_TREE=On"
"-Wno-dev")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'obs-plugins
(lambda* (#:key outputs #:allow-other-keys)
(mkdir-p (string-append #$output "/lib/obs-plugins"))
(symlink
(string-append #$output
"/obs-plugins/64bit/obs-multi-rtmp.so")
(string-append #$output
"/lib/obs-plugins/obs-multi-rtmp.so")))))))
(inputs (list obs qtbase-5))
(home-page "https://github.com/sorayuki/obs-multi-rtmp")
(synopsis "Multi-site simultaneous broadcast plugin for OBS Studio")
(description "This is a plugin to streaming to multiple RTMP servers
concurrently. It's able to share encoders with main output of OBS to save CPU
power. It can also use standalone encoders with basic
configuration (bitrate).")
(license license:gpl2)))
(define-public obs-pipewire-audio-capture
(package
(name "obs-pipewire-audio-capture")