[FFmpeg-user] 608/ 708 Closed Captions output with ffmpeg and Decklink

Matt C asperi at hotmail.com
Wed Jan 5 03:28:40 EET 2022

Just trying to make sure I get this right in the compile as I have not added things before.

If I add    libklvanc \    to

sudo apt-get update -qq && sudo apt-get -y install \

like this:

sudo apt-get update -qq && sudo apt-get -y install \
  autoconf \
  automake \
  build-essential \
  cmake \
  git-core \
  libass-dev \
  libfreetype6-dev \
  libgnutls28-dev \
  libmp3lame-dev \
  libsdl2-dev \
  libtool \
  libva-dev \
  libvdpau-dev \
  libvorbis-dev \
  libxcb1-dev \
  libxcb-shm0-dev \
  libxcb-xfixes0-dev \
  libvorbis-dev \
  libklvanc \
  meson \
  ninja-build \
  pkg-config \
  texinfo \
  wget \
  yasm \
  sudo apt-get -y install \
  nasm yasm libx264-dev libx265-dev libnuma-dev libvpx-dev \
  libfdk-aac-dev libmp3lame-dev libopus-dev

I get:
Note, selecting 'git' instead of 'git-core'
E: Unable to locate package libklvanc

Same if I try just:
sudo apt-get update -y
sudo apt-get install -y libklvanc

sudo apt-get update -y
sudo apt-get install -y libklvanc-dev

Sorry, new to this, what am I missing?

I will have "--enable-libklvanc" to the ./configure line once I get to that point..

Thanks!  - Matt

From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Devin Heitmueller <devin.heitmueller at ltnglobal.com>
Sent: Tuesday, January 4, 2022 3:10 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] 608/ 708 Closed Captions output with ffmpeg and Decklink

On Tue, Jan 4, 2022 at 9:43 AM Matt C <asperi at hotmail.com> wrote:
> Looking closer I see your note on pix_fmt, I will try with yuv422p10
> ffmpeg -i /home/matt/VideoTests/1080i_TS_SampleFileCC.mpg-pix_fmt -ar:a 48000 yuv422p10 -s 1920x1080 -r 30000/1001 -f decklink -a53cc 0 -map 0 -vcodec v210 "DeckLink SDI 4K"

So the vast majority of those args are unnecessary given the file.
Assuming you've properly built with libklvanc support it should play
just fine including captions using:

ffmpeg -i /home/matt/VideoTests/1080i_TS_SampleFileCC.mpg-pix_fmt -f
decklink -vcodec v210 "DeckLink SDI 4K"

Did you add "--enable-libklvanc" to the ./configure line?  That is
needed for the libklvanc library to be included in ffmpeg.


Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: devin.heitmueller at ltnglobal.com
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list