From e6fce23cc966368561dda67462f02360ef0fa86b Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 24 Jun 2015 18:20:07 +0200 Subject: [PATCH] Decklink cap.: added some examples --- src/video_capture/decklink.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/video_capture/decklink.cpp b/src/video_capture/decklink.cpp index fc3ad57a0..a62258f91 100644 --- a/src/video_capture/decklink.cpp +++ b/src/video_capture/decklink.cpp @@ -467,7 +467,12 @@ decklink_help() printf("audioConsumerLevels\n"); printf("\tIf set true the analog audio levels are set to maximum gain on audio input.\n"); - printf("\tIf set false the selected analog input gain levels are used.\n"); + printf("\tIf set false the selected analog input gain levels are used.\n\n"); + + printf("Examples:\n"); + printf("\t%s -t decklink # captures autodetected video from first detected decklink\n", uv_argv[0]); + printf("\t%s -t decklink:0:Hi50:UYVY # captures 1080i50, 8-bit yuv\n", uv_argv[0]); + printf("\t%s -t decklink:0:10:v210:connection=HDMI # captures 10th format from a card (alternative syntax), 10-bit YUV, from HDMI\n", uv_argv[0]); printf("\n");