rborgese / Runbook_8ch_NDI_encoder

Install, Compile and add Startup scripts for an 8 channel Decklink to NDI encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runbook_8ch_NDI_encoder

Install and compile Ubuntu FFmpeg NDI-encoder machine.


Install Ubuntu 18.04 Desktop with username: ndi(small letters), networkname should be the machinename you wish in the NDI network, and autoboot enabled Disable lockscreensaver.

Install Decklink "Desktop Video"

Download from here:

https://www.blackmagicdesign.com/support/family/capture-and-playback

Install:

  • desktopvideo
  • desktopvideo-gui

Open desktopvideo (Decklink GUI) and setup card for 8 input.

Install FFmpeg:

sudo apt-get install git
git clone https://github.com/tv2/Runbook_8ch_NDI_encoder.git ffmpeg_runbook

cd ffmpeg_runbook/StartUpScripts

edit the encodernames in nano

nano encode8HDSDI.sh

Run script:

cd ..
chmod +X runbook.sh
./runbook.sh

Make encodersript runable:

chmod +X /home/ndi/runffmpeg/encode8HDSDI.sh

To Autoboot script run:

sudo gnome-session-properties

and add /home/ndi/runffmpeg/encode8HDSDI.sh to list.

Enable SRT lib:

Edit:

sudo nano /etc/ld.so.conf

Add line in file:

include /usr/local/lib

Save and run:

sudo ldconfig

reboot machine


FFmpeg examples:

Direct RTSP URL:

  • rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

Direct HTTP URL to sample file:

NewTek NDI streams:

  • ffmpeg -f libndi_newtek -find_sources 1 -i dummy

  • ffmpeg -f libndi_newtek -i 'CONNECT02 (TV2 Sport HD)' -f libndi_newtek “FFmpegNDI01”

Ud af DeckLink:

  • 720p50:

    • ffmpeg -r 50 -f libndi_newtek -i 'NDI-HP-ELITEDESK-800-G3-TWR (KAOLtest01)' -buffer_size 1500M -an -f decklink 'DeckLink Quad (8)’
  • 1080i:

    • ffmpeg -f libndi_newtek -i 'CONNECT02 (Afv.G)' -buffer_size 3000M -an -f decklink -s 1920x1080 -r 25000/1000 'DeckLink Quad (8)'

Decklink encoder:

  • ffmpeg -f decklink -i 'DeckLink Quad (1)' -f libndi_newtek 'HD-SDI01'

Output UDP strøm:

  • ffmpeg -r 50 -i "udp://232.101.1.7:5500" -f libndi_newtek -pix_fmt uyvy422 -clock_video true KAOL_RTP_01

About

Install, Compile and add Startup scripts for an 8 channel Decklink to NDI encoder


Languages

Language:C++ 85.6%Language:C 11.5%Language:Makefile 1.4%Language:Shell 0.9%Language:QMake 0.6%