- Posts: 1
- Joined: Mon Apr 29, 2019 10:20 am
- Real Name: Arturo Rodriguez
Hello:
I have acquired the new DeckLink Quad HDMI Recorder and I have installed it on a server.
I have done a clean installation of Ubuntu Server 18.04-2.
I have installed the latest version of the .deb package with the latest available version of Desktop Video (without gui), version 11.1.
I then compiled the latest version of ffmpeg with the following script:
#!/bin/sh
sudo apt-get update -qq
sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git \
libass-dev \
libfreetype6-dev \
libtheora-dev \
libtool \
libvorbis-dev \
mercurial \
pkg-config \
texinfo \
wget \
zlib1g-dev \
yasm \
libx264-dev \
libvpx-dev \
libfdk-aac-dev \
libmp3lame-dev \
libopus-dev
cd ~/src
# x265
if cd x265 2> /dev/null; then hg pull && hg update; else hg clone https://bitbucket.org/multicoreware/x265; fi
cd x265/build/linux
PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/local/" -DENABLE_SHARED:bool=off ../../source
PATH="$HOME/bin:$PATH" make
sudo make install
# ACTUAL COMPILATION
cd ~/src
wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure \
--prefix="/usr/local" \
--pkg-config-flags="--static" \
--extra-cflags="-I/usr/local/include" \
--extra-ldflags="-L/usr/local/lib" \
--enable-decklink \
--extra-cflags="-I/home/streaming/Linux/include" \
--extra-ldflags="-L/home/streaming/Linux/include" \
--extra-libs="-lpthread -lm" \
--bindir="/usr/local/bin" \
--enable-gpl \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-nonfree
make
sudo make install
hash -r
As you can see in this script, there are the options that allow using the SDK:
--enable-decklink \
--extra-cflags="-I/home/streaming/Linux/include" \
--extra-ldflags="-L/home/streaming/Linux/include" \
The SDK used is the latest available, version 11.1.
Once everything is configured, I run the following script to list the devices and apparently everything works correctly:
ffmpeg -f decklink -list_devices 1 -i dummy
I have connected an HDMI source to number 4 and executed the following script:
ffmpeg -raw_format rgb10 -f decklink -i 'DeckLink Quad HDMI Recorder (4)' output.mkv
Everything works correctly EXCEPT for the sound, which does not work.
Any ideas?
Thanks in advance.
Greetings.
I have acquired the new DeckLink Quad HDMI Recorder and I have installed it on a server.
I have done a clean installation of Ubuntu Server 18.04-2.
I have installed the latest version of the .deb package with the latest available version of Desktop Video (without gui), version 11.1.
I then compiled the latest version of ffmpeg with the following script:
#!/bin/sh
sudo apt-get update -qq
sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git \
libass-dev \
libfreetype6-dev \
libtheora-dev \
libtool \
libvorbis-dev \
mercurial \
pkg-config \
texinfo \
wget \
zlib1g-dev \
yasm \
libx264-dev \
libvpx-dev \
libfdk-aac-dev \
libmp3lame-dev \
libopus-dev
cd ~/src
# x265
if cd x265 2> /dev/null; then hg pull && hg update; else hg clone https://bitbucket.org/multicoreware/x265; fi
cd x265/build/linux
PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/local/" -DENABLE_SHARED:bool=off ../../source
PATH="$HOME/bin:$PATH" make
sudo make install
# ACTUAL COMPILATION
cd ~/src
wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure \
--prefix="/usr/local" \
--pkg-config-flags="--static" \
--extra-cflags="-I/usr/local/include" \
--extra-ldflags="-L/usr/local/lib" \
--enable-decklink \
--extra-cflags="-I/home/streaming/Linux/include" \
--extra-ldflags="-L/home/streaming/Linux/include" \
--extra-libs="-lpthread -lm" \
--bindir="/usr/local/bin" \
--enable-gpl \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-nonfree
make
sudo make install
hash -r
As you can see in this script, there are the options that allow using the SDK:
--enable-decklink \
--extra-cflags="-I/home/streaming/Linux/include" \
--extra-ldflags="-L/home/streaming/Linux/include" \
The SDK used is the latest available, version 11.1.
Once everything is configured, I run the following script to list the devices and apparently everything works correctly:
ffmpeg -f decklink -list_devices 1 -i dummy
I have connected an HDMI source to number 4 and executed the following script:
ffmpeg -raw_format rgb10 -f decklink -i 'DeckLink Quad HDMI Recorder (4)' output.mkv
Everything works correctly EXCEPT for the sound, which does not work.
Any ideas?
Thanks in advance.
Greetings.