[FFmpeg-devel] [PATCH 0/3 v2] decklink: new option -format_code to specify video modes with constant fourCCs

Matthias Hunstock atze at fem.tu-ilmenau.de
Fri Mar 17 02:41:27 EET 2017


This patch series introduces a new option for the decklink devices. Currently, a video mode
can be explicitly set via -i "devicename at modenumber", which is a common need for capture and
sometimes for playout.
The current number based modes are not constant between different cards and sometimes even
change with SDK versions. The new option uses constants from the SDK that do not change and
are kind of human readable.


  decklink: add format_code of display mode to list_format output
  decklink: new option 'format_code' to set video format by fourCC
  Documentation: update decklink options

 doc/indevs.texi                 | 14 ++++++++++----
 doc/outdevs.texi                | 15 +++++++++++++++
 libavdevice/decklink_common.cpp | 28 ++++++++++++++++++++--------
 libavdevice/decklink_common_c.h |  1 +
 libavdevice/decklink_dec.cpp    |  5 +++--
 libavdevice/decklink_dec_c.c    |  1 +
 libavdevice/decklink_enc_c.c    |  1 +
 7 files changed, 51 insertions(+), 14 deletions(-)

-- 
2.1.4



More information about the ffmpeg-devel mailing list