[FFmpeg-trac] #6822(avdevice:new): Cannot compile with --enable-decklink :

FFmpeg trac at avcodec.org
Thu Nov 9 04:56:57 EET 2017


#6822: Cannot compile with --enable-decklink :
-------------------------------------+-------------------------------------
             Reporter:  Syl20        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avdevice     |                  Version:  git-
             Keywords:  enable-      |  master
  decklink                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hi all,

 First ticket here, sorry if incomplete.

 I try to compile ffmpeg on MacOS with the --enable-decklink option :

 {{{
 ./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libtheora
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
 --enable-libopus --enable-libxvid --enable-decklink --extra-
 cflags=-I/usr/local/include/ --extra-ldflags=-L/usr/local/lib/
 }}}


 configure script is OK but fail when I make :

 {{{
 libavdevice/decklink_dec.cpp:265:10: error: no previous prototype for
 function 'vanc_to_cc' [-Werror,-Wmissing-prototypes]
 uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,
          ^
 libavdevice/decklink_dec.cpp:355:10: error: no previous prototype for
 function 'get_metadata' [-Werror,-Wmissing-prototypes]
 uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
          ^
 In file included from libavdevice/decklink_dec.cpp:27:
 In file included from ./libavformat/internal.h:27:
 In file included from ./libavformat/avformat.h:319:
 ./libavcodec/avcodec.h:1375:16: warning: 'convergence_duration' is
 deprecated [-Wdeprecated-declarations]
 typedef struct AVPacket {
                ^
 ./libavcodec/avcodec.h:1427:13: note: 'convergence_duration' has been
 explicitly marked deprecated here
     int64_t convergence_duration;
             ^
 ./libavcodec/avcodec.h:1375:16: warning: 'convergence_duration' is
 deprecated [-Wdeprecated-declarations]
 typedef struct AVPacket {
                ^
 ./libavcodec/avcodec.h:1427:13: note: 'convergence_duration' has been
 explicitly marked deprecated here
     int64_t convergence_duration;
             ^
 libavdevice/decklink_dec.cpp:706:25: warning: unused variable 'line_mask'
 [-Wunused-variable]
                 int64_t line_mask = 1;
                         ^
 3 warnings and 2 errors generated.
 make: *** [libavdevice/decklink_dec.o] Error 1
 }}}

 I have succeed to do it before (June 2017) so I think it's a regression.

 Thank for your help,

 --
 Sylvain

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6822>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list