Package Details: distroav-git 6.0.0.r0.g9871ed6-1

Git Clone URL: https://aur.archlinux.org/distroav-git.git (read-only, click to copy)
Package Base: distroav-git
Description: Network A/V in OBS Studio with NewTek's NDI technology
Upstream URL: https://github.com/DistroAV/DistroAV
Licenses: GPL2
Conflicts: distroav, obs-ndi-bin
Provides: distroav, obs-ndi
Submitter: emileet
Maintainer: emileet
Last Packager: emileet
Votes: 3
Popularity: 0.61
First Submitted: 2024-10-28 02:24 (UTC)
Last Updated: 2024-10-28 02:24 (UTC)

Latest Comments

1 2 Next › Last »

galuise commented on 2024-08-21 22:06 (UTC)

This appears to no longer build due to the renaming of obs-ndi to distroav as requested I believe by the OBS project itself. Also the AUR package obs-ndi does not appear to work with the NDI 6 SDK..

I was able to get this AUR package to build (and work successfully with the NDI 6 SDK) by making the following changes:

diff --git a/PKGBUILD b/PKGBUILD
index 4e2152f..83463cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
 # Maintainer: Emily Maré (emileet) <emileet@plsnobully.me>

 _newpkgname=DistroAV
-pkgname=obs-ndi-git
-_pkgname=obs-ndi
-pkgver=4.14.1.r0.g120d421
+pkgname=distroav-git
+_pkgname=distroav-git
+pkgver=6.0.0.r0.g000c526
 pkgrel=1
 pkgdesc="Network A/V in OBS Studio with NewTek's NDI technology"
 arch=('x86_64')
 license=('GPL2')
 url="https://github.com/DistroAV/DistroAV"
-provides=('obs-ndi')
-conflicts=('obs-ndi-bin')
+provides=('distroav')
+conflicts=('obs-ndi-bin' 'obs-ndi-git')
 depends=('avahi' 'libndi' 'obs-studio' 'sndio')
 makedepends=('git' 'cmake')
 install="${_pkgname}.install"
@@ -32,10 +32,10 @@ build() {
 package() {
     cd ${_newpkgname}

-    install -Dm755 build/obs-ndi.so ${pkgdir}/usr/lib/obs-plugins/obs-ndi.so
+    install -Dm755 build/distroav.so ${pkgdir}/usr/lib/obs-plugins/distroav.so

-    install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
-    cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
+    install -d ${pkgdir}/usr/share/obs/obs-plugins/distroav/locale
+    cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/distroav/locale

     install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
 }
diff --git a/obs-ndi.install b/distroav-git.install
similarity index 100%
rename from obs-ndi.install
rename to distroav-git.install

galuise commented on 2023-11-20 18:11 (UTC) (edited on 2023-11-20 18:12 (UTC) by galuise)

This package now seems to be failing on ArchLinux (due to what appears to be a qt dependency):

[ 25%] Building CXX object CMakeFiles/obs-ndi.dir/src/plugin-main.cpp.o
/build/obs-ndi-git/src/obs-ndi/src/plugin-main.cpp:29:10: fatal error: QDir: No such file or directory
   29 | #include <QDir>
      |          ^~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/obs-ndi.dir/build.make:76: CMakeFiles/obs-ndi.dir/src/plugin-main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/obs-ndi.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/galuise/chroot/galuise/build

RAMChYLD commented on 2022-09-28 19:06 (UTC) (edited on 2022-09-29 12:01 (UTC) by RAMChYLD)

Ok, I finally figured it out.

I had my color space in the advanced settings of OBS set to Rec. 709 because it provides extra brightness to the image. On versions of OBS prior to 28.0.0 this is handled gracefully, but on OBS version 28.0.0 or later it causes the green tint.

In all honesty, I'd prefer using 709, bur I guess going back to Rec. 601 is an acceptable workaround.

Aside from that, everything else is working as it should without any problems.

emileet commented on 2022-09-27 19:11 (UTC) (edited on 2022-09-27 19:24 (UTC) by emileet)

@RAMChYLD package is now building from the rewrite branch. let me know if there's any issues. to use ndi5 install ndi-sdk.

as for the green tinting issue, i'm not sure what the exact problem is however it's not present in obs-studio-git so i'd recommend using that.

RAMChYLD commented on 2022-09-27 17:47 (UTC) (edited on 2022-09-27 18:23 (UTC) by RAMChYLD)

OBS-NDI now has a git branch that works with OBS versions 28 and newer called "rewrite". Can you consider switching obs-ndi-git to that branch now that OBS 28 is live on Arch? The only catch is that it requires NDI 5.5 or newer which can be attained for free if you sign up to download the SDK.

Also, I'm having trouble in that the git branch is transmitting a very strong green tint on Arch. I've filed a bug report, but can anyone try and corroborate that this is also happening to them?

Edit: Nevermind, upgraded my Windows desktop to 28.0.2, libndi 5.5.1 and the rewrite git version of OBS-NDI and I'm also getting a green tint. I'm not having a good day. Downgrading the OBS-NDI and OBS but not the libndi restores usability, so it's an issue localized to OBS and OBS-NDI and not libndi.

emileet commented on 2022-09-15 19:12 (UTC) (edited on 2022-09-15 19:13 (UTC) by emileet)

@mattboy9921 so currently obs-ndi is broken for obs versions > 27 (even with a fixed CMakeLists.txt as i believe it's related to the Qt5->Qt6 update), if you require this plugin i recommend installing the non rc/git version of obs-studio

mattboy9921 commented on 2022-09-15 15:37 (UTC) (edited on 2022-09-15 15:39 (UTC) by mattboy9921)

I am having trouble building this, getting an error with CMake not able to find LibObs:

CMake Error at CMakeLists.txt:20 (find_package):
  By not providing "FindLibObs.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "LibObs", but
  CMake did not find one.

  Could not find a package configuration file provided by "LibObs" with any
  of the following names:

    LibObsConfig.cmake
    libobs-config.cmake

  Add the installation prefix of "LibObs" to CMAKE_PREFIX_PATH or set
  "LibObs_DIR" to a directory containing one of the above files.  If "LibObs"
  provides a separate development package or SDK, be sure it has been
  installed.

I am using obs-studio-rc currently if that matters.

emileet commented on 2020-06-11 03:17 (UTC) (edited on 2020-06-11 03:18 (UTC) by emileet)

@araruna, this is an issue with ndi-sdk. if you want to build this package successfully until the PKGBUILD is updated by the maintainer, ensure you have pacman-contrib installed, clone https://aur.archlinux.org/ndi-sdk.git then run updpkgsums && makepkg -cfirs then you can build this package without any issues.

araruna commented on 2020-06-11 02:16 (UTC)

I get the following error (which is in Brazilian Portuguese), which in a nutshell says that the sha256 digest is invalid.

==> Criando o pacote: ndi-sdk 4.5.20200512.r114585-1 (qua 10 jun 2020 23:13:26) ==> Obtendo fontes... -> Encontrado InstallNDISDK_v4.5.20200512.r114585_Linux.tar.gz ==> Validando source arquivos com sha256sums... InstallNDISDK_v4.5.20200512.r114585_Linux.tar.gz ... FALHOU ==> ERRO: Um ou mais arquivos não passaram na verificação de validade!

emileet commented on 2020-05-07 05:40 (UTC)

@Shaybox, no where in the package is obs-studio built, it is merely pulled in order to source "obs-frontend-api.h" which is required to build the obs-ndi plugin.