Downloads:

161

Downloads of v 4.9.0:

154

Last Update:

03 May 2020

Package Maintainer(s):

Software Author(s):

  • Stéphane Lepin

Tags:

obs obs-studio ndi newtek

NewTek NDI integration for OBS Studio

4.9.0 | Updated: 03 May 2020

Downloads:

161

Downloads of v 4.9.0:

154

Software Author(s):

  • Stéphane Lepin

NewTek NDI integration for OBS Studio 4.9.0

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

A dependency takes a really long time to install and causes the verifier to timeout before it has a chance to complete.

To install NewTek NDI integration for OBS Studio, run the following command from the command line or from PowerShell:

>

To upgrade NewTek NDI integration for OBS Studio, run the following command from the command line or from PowerShell:

>

To uninstall NewTek NDI integration for OBS Studio, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade obs-ndi -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade obs-ndi -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure obs-ndi installed
  win_chocolatey:
    name: obs-ndi
    state: present
    version: 4.9.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'obs-ndi' do
  action    :install
  version  '4.9.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: obs-ndi,
    Version: 4.9.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller obs-ndi
{
   Name     = 'obs-ndi'
   Ensure   = 'Present'
   Version  = '4.9.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'obs-ndi':
  provider => 'chocolatey',
  ensure   => '4.9.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install obs-ndi version="4.9.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 16 May 2020.

Description

Network A/V in OBS Studio with NewTek's NDI technology.

Features

  • NDI Source : receive NDI video and audio in OBS
  • NDI Output : transmit video and audio from OBS to NDI
  • NDI Filter (a.k.a NDI Dedicated Output) : transmit a single source or scene to NDI

tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

# First, install NDI Runtime
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'NDI 4 Runtime'
  fileType      = 'exe'
  silentArgs    = "/VERYSILENT /LOG /NORESTART /SUPPRESSMSGBOXES"

  validExitCodes= @(0)
  url           = "https://ndi.palakis.fr/runtime/ndi-runtime-4.5.1-Windows.exe"
  checksum      = 'AB9E6FE27ABD44874DA02E4E4A335883A2812A05F5AF63065E5DD53CAF7E4F64'
  checksumType  = 'sha256'
  destination   = $toolsDir
}

Install-ChocolateyPackage @packageArgs

# Now install obs-ndi

# Find install location from registry, but fall back to ProgramFiles 
$installPath = "$ENV:ProgramFiles\obs-studio"
$key = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\WOW6432Node\OBS Studio' -ErrorAction SilentlyContinue)
if ($key) {
  $installPath = $key.'(default)'
}

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName

  url           = "https://github.com/Palakis/obs-ndi/releases/download/4.9.0/obs-ndi-4.9.0-Windows.zip"
  checksum      = '531642B5A21A9774AC818C0913E9A8740CDA3993E25EB459DD3A3B5A81177A77'
  checksumType  = 'sha256'
  UnzipLocation = $installPath
  file          = "$toolsDir\obs-ndi.zip"
}

Install-ChocolateyZipPackage @packageArgs

Write-Warning "You must reboot your computer to make a new or updated NDI Runtime installation effective"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

# Would use Uninstall-ChocolateyZipPackage @packageArgs, but for https://github.com/chocolatey/choco/issues/2042

$ZipFileName  = "obs-ndi-4.9.0-Windows.zip"

$zipContentFile=(join-path $env:chocolateyPackageFolder $zipFileName) + "Install.txt"

if(-Not (Test-Path -Path $zipContentFile)) {
  $zipContentFile=(Join-Path $env:chocolateyPackageFolder -ChildPath $zipFileName) + ".txt"
}

if ((Test-Path -path $zipContentFile)) {
  $zipContentFile

  # Sorted so files are done before the directories they belong to
  $zipContents=get-content $zipContentFile | Sort-Object -Descending
  foreach ($fileInZip in $zipContents) {
    if ($fileInZip -ne $null -and $fileInZip.Trim() -ne '') {
      if ((Get-Item $fileInZip).PSIsContainer) {
        # Only delete if directory is empty
        if ((Get-Item $fileInZip).GetFileSystemInfos().Count -eq 0) {
          Remove-Item -Path "$fileInZip" -ErrorAction SilentlyContinue -Force
        } else {
          Write-Verbose "Skipping $fileInZip as it is not empty"
        }
      } else {
        Remove-Item -Path "$fileInZip" -ErrorAction SilentlyContinue -Force
      }
    }
  }
} else {
  Write-Verbose "Couldn't find $zipContentFile"
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status

Only use this release with OBS Studio v25 or above!
Changes since 4.8.0

Improvements to the NDI Source (#459):
The Sync setting now defaults to Source

Discussion for the NewTek NDI integration for OBS Studio Package

Ground Rules:

  • This discussion is only about NewTek NDI integration for OBS Studio and the NewTek NDI integration for OBS Studio package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or NewTek NDI integration for OBS Studio, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus