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

Matt C asperi at hotmail.com
Wed Jan 5 06:02:43 EET 2022


Maybe I got it, but not sure...?

~/libklvanc-master$ ./autogen.sh --build
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:32: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
aclocal: warning: couldn't open directory 'm4': No such file or directory
src/Makefile.am:4: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:4:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:4:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:4:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:4:   its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
src/Makefile.am:4: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:4:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:4:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:4:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:4:   its definition is in aclocal's search path.


~/libklvanc-master$ ./configure --enable-shared=no
configure: WARNING: unrecognized options: --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking whether fPIC compiler option is accepted... yes
checking for ranlib... ranlib
./configure: line 4256: AC_PROG_LIBTOOL: command not found
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for memset... yes
checking for strrchr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: `src/Makefile.in'
matt at tvadi0001:~/libklvanc-master$     make
Making all in src
make[1]: Entering directory '/home/matt/libklvanc-master/src'
make[1]: *** No rule to make target 'all'.  Stop.
make[1]: Leaving directory '/home/matt/libklvanc-master/src'
make: *** [Makefile:346: all-recursive] Error 1




________________________________
From: Matt C <asperi at hotmail.com>
Sent: Wednesday, January 5, 2022 1:28 AM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] 608/ 708 Closed Captions output with ffmpeg and Decklink

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 \
  zlib1g-dev
  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

And
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

--
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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


More information about the ffmpeg-user mailing list