This patch series introduces a new option for the decklink devices. Currently, a video mode can be explicitly set via -i "devicename@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel