[FFmpeg-user] Compiling ffmpeg with an output device (Blackmagick Decklink)

David Di Biase david at pilotinteractive.ca
Wed Apr 18 01:10:26 EEST 2018


Carl, my apologies for not including config.log. I've attached a copy here.
I also managed to get through most of the issues I was having however I
have one final issue regarding running the mak file. Here's the command I'm
using:

*cd ~/ffmpeg_sources && *
*wget -O ffmpeg-snapshot.tar.bz2
https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
<https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2> && *
*tar -xjvf ffmpeg-snapshot.tar.bz2 &&*
*cd ffmpeg && *
*PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$HOME/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static"
--extra-cflags="-I$HOME/ffmpeg_build/include*
*-I$HOME/Decklink" --extra-ldflags="-L$HOME/ffmpeg_build/lib*
*-L$HOME/Decklink" --extra-libs="-lpthread -lm" --bindir="$HOME/bin"
--enable-gpl --enable-version3 --enable-nonfree --enable-libfdk_aac
--enable-fontconfig --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-decklink --enable-librtmp --enable-openssl &&*
*PATH="$HOME/bin:$PATH" make &&*
*make install &&*
*hash -r*

At the tail of that command as it's confirming the build files I get the
following:

*License: nonfree and unredistributable*
*config.h is unchanged*
*config.asm is unchanged*
*libavutil/avconfig.h is unchanged*
*libavfilter/filter_list.c is unchanged*
*libavcodec/codec_list.c is unchanged*
*libavcodec/parser_list.c is unchanged*
*libavcodec/bsf_list.c is unchanged*
*libavformat/demuxer_list.c is unchanged*
*libavformat/muxer_list.c is unchanged*
*libavdevice/indev_list.c is unchanged*
*libavdevice/outdev_list.c is unchanged*
*libavformat/protocol_list.c is unchanged*
*ffbuild/config.sh is unchanged*
*ffbuild/config.mak:6: *** missing separator.  Stop.*

I attempted tracking down the issue and found this ticket on the ffmpeg
tracker: https://trac.ffmpeg.org/ticket/1209. I'm not using the git pull,
instead I'm just unpacking the source tar.

Hopefully someone has experienced this before and knows where I should look
for a solution.

On Fri, Apr 13, 2018 at 10:10 PM Gang Liu <gangban.lau at gmail.com> wrote:

> # with decklink, centos 6.x
> scl enable devtoolset-3 bash
>
>
> PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$HOME/ffmpeg/build.static/lib/pkgconfig"
> ./configure --prefix="$HOME/ffmpeg/build.static"
> --pkg-config-flags="--static"
> --extra-cflags="-I$HOME/ffmpeg/build.static/include
> -I$HOME/Downloads/Blackmagic_DeckLink_SDK_10.8.5/Linux/include/"
> --extra-ldflags="-L$HOME/ffmpeg/build.static/lib
> -L$HOME/Downloads/Blackmagic_DeckLink_SDK_10.8.5/Linux/include/"
> --extra-libs=-lpthread --bindir="$HOME/ffmpeg/bin.static" --enable-gpl
> --enable-version3 --enable-nonfree --enable-libfdk_aac --enable-fontconfig
> --enable-libfreetype --enable-libmp3lame --enable-libopus
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
> --enable-decklink --enable-librtmp --enable-openssl
>
> On Sat, Apr 14, 2018 at 5:22 AM, David Di Biase <david at pilotinteractive.ca
> >
> wrote:
>
> > I've gone through the ffmpeg compile tutorial and have managed to get it
> > working as expected. The build looks stable and usable. However now I
> need
> > to include the Blackmagick Decklink SDK in the build using the
> > --enable-decklink flag.
> >
> > *cd ~/ffmpeg_sources && \*
> > *wget -O ffmpeg-snapshot.tar.bz2
> > https://ffmpeg.org/releases/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="$HOME/ffmpeg_build/lib/pkgconfig"
> > ./configure \*
> > *  --prefix="$HOME/ffmpeg_build" \*
> > *  --pkg-config-flags="--static" \*
> > *  --extra-cflags="-I$HOME/ffmpeg_build/include" \*
> > *  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \*
> > *  --extra-libs="-lpthread -lm" \*
> > *  --bindir="$HOME/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-decklink \*
> > *  --enable-nonfree && \*
> > *PATH="$HOME/bin:$PATH" make && \*
> > *make install && \*
> > *hash -r*
> >
> > However after a few seconds it fails and reports that it cannot find the
> > decklink libs:
> >
> > *ERROR: DeckLinkAPI.h not found*
> >
> > If you think configure made a mistake, make sure you are using the latest
> > version from Git.  If the latest version fails, report the problem to the
> > ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> > Include the log file "ffbuild/config.log" produced by configure as this
> > will help
> > solve the problem.
> > I've placed the libraries in the same folder specified by extra-cflags
> and
> > in the ldflags. So basically the Decklink SDK is available here and here:
> >
> > *~/ffmpeg_build/include/decklink*
> > *~/ffmpeg_build/lib/decklink*
> >
> > That's not apparently how you do it though (new to ffmpeg). I'm wondering
> > where I should be putting the SDK source to ensure the compiler can read
> > it.
> >
> > Thanks.
> >
> > --
> > This email and any files transmitted with it are confidential and
> intended
> > solely for the use of the individual or entity to whom they are
> addressed.
> > If you have received this email in error please notify the system
> manager.
> > This message contains confidential information and is intended only for
> > the
> > individual named. If you are not the named addressee you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately by e-mail if you have received this e-mail by mistake and
> > delete this e-mail from your system. If you are not the intended
> recipient
> > you are notified that disclosing, copying, distributing or taking any
> > action in reliance on the contents of this information is strictly
> > prohibited.
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.lo
Type: application/octet-stream
Size: 474471 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20180417/2eef4b63/attachment.obj>


More information about the ffmpeg-user mailing list