Skip to main content

ATEM Controller

Guide: Running ATEM Control on Linux via Wine and Receiving RTMP Streams with nginx

Inhaltsverzeichnis

Install ATEM Control using Wine

    1.
  1. Installation von Wine:
  2. Installa. Wine:Aktualisieren Sie zunächst Ihre Paketliste:

    sudo apt update
    

    b. Installieren Sie anschließend die 64-Bit- und 32-Bit-Versionen von Wine:

    sudo apt install wine64 wine32
    

    c.

  3. Um sicherzustellen, dass Wine korrekt installiert ist, führen Sie:

    winecfg
    

    Dadurch wird das Wine-Konfigurationsfenster geöffnet und falls erforderlich, wird eine neue Wine-Installation in Ihrem Home-Verzeichnis eingerichtet.

    2. Download thedes requirederforderlichen VC++ Redistributable:

    Laden Sie die VC++ Redistributable Datei herunter, die einige der von ATEM Control benötigten Bibliotheken enthält:

    wget https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe
    
  4. 3.
  5. Installation

    Install theder VC++ Redistributable usingmit Wine:

  6. Installieren Sie die heruntergeladene Datei mit Wine:

    WINEPREFIX=~/.wine64 WINEARCH=win64 wine64 vc_redist.x64.exe
    

    4.
  7. Download und Installation von ATEM Control:
  8. Downloada. andBesuchen installSie die offizielle Blackmagic Design-Website und laden Sie die ATEM Control-Software herunter. (Hier kann ich keinen direkten Link bereitstellen, da die URL von der Version und anderen Faktoren abhängen kann.)

    b. Nachdem Sie die ATEM Control-Installationsdatei heruntergeladen haben (angenommen, es handelt sich um eine .exe-Datei), navigieren Sie zu dem Verzeichnis, in dem die Datei gespeichert ist.

    c. Führen Sie die Installation von ATEM Control andmit anyWine other required files using Wine.aus:

    WINEPREFIX=~/.wine64 
WINEARCH=win64 wine64 YOUR_DOWNLOADED_FILE.exe

Ersetzen Sie YOUR_DOWNLOADED_FILE.exe durch den genauen Namen der heruntergeladenen ATEM Control-Installationsdatei.

d. Befolgen Sie die Installationsanweisungen im Setup-Assistenten, um ATEM Control zu installieren.


Nach Abschluss dieser Schritte sollte ATEM Control unter Wine auf Ihrem Linux-System installiert sein und einsatzbereit sein.

Create a Desktop Shortcut for ATEM Control

  1. Create a new file named BMD-atem-control.desktop:

    vim BMD-atem-control.desktop
    
  2. Insert the following content into the file:

    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=true
    Icon=mate-panel-launcher
    Icon[en_US]=mate-panel-launcher
    Name[en_US]=BMD-atem-control
    Exec=env WINEPREFIX=/home/joscha_mijailovic/.wine64 WINEARCH=win64 taskset -c 0 wine64 /home/joscha_mijailovic/.wine64/drive_c/Program\ Files\ \(x86\)/Blackmagic\ Design/Blackmagic\ ATEM\ Switchers/ATEM\ Software\ Control/ATEM\ Software\ Control.exe
    Name=BMD-atem-control
    
  3. Save and exit.

  4. Make the .desktop file executable:

    chmod +x BMD-atem-control.desktop
    

Receive RTMP Streams using nginx

  1. Install nginx with the RTMP module:

    sudo apt install libnginx-mod-rtmp nginx
    
  2. Edit the nginx configuration file:

    sudo vim /etc/nginx/nginx.conf
    
  3. Add the following RTMP configuration to the end of the file:

    rtmp {
        server {
            listen 1935;
            chunk_size 4096;
    
            application live {
                live on;
                record off;
            }
        }
    }
    
  4. Save and exit.

  5. Restart nginx:

    sudo systemctl restart nginx
    

Configure RTMP Stream in ATEM

  1. Start the ATEM Software Control.
  2. Navigate to Settings > Streaming.
  3. Choose RTMP as the protocol.
  4. Enter the RTMP address of the nginx server. It should look like: rtmp://YOUR_SERVER_IP/live.
  5. Apply the settings.

Process the RTMP Stream in OBS

  1. Open OBS.
  2. Navigate to "Sources" and click on the "+" symbol to add a new source.
  3. Choose "Media Source" and give it an appropriate name.
  4. Uncheck "Local File" and enter your RTMP stream link in the "Input" box. It should look something like this: rtmp://localhost/live.
  5. Confirm the settings, and the stream should now appear in OBS.