From b3a2adaac6526428843a1fa74eb9f896e898a78a Mon Sep 17 00:00:00 2001 From: Matthias Hunstock Date: Mon, 20 Mar 2017 00:16:37 +0100 Subject: avdevice/decklink: new option 'format_code' to set video format by fourCC Signed-off-by: Matthias Hunstock Signed-off-by: Marton Balint --- doc/indevs.texi | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'doc/indevs.texi') diff --git a/doc/indevs.texi b/doc/indevs.texi index 27cc3d5dc3..51c304f3ec 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -233,6 +233,12 @@ Defaults to @option{false}. If set to @option{true}, print a list of supported formats and exit. Defaults to @option{false}. +@item format_code +This sets the input video format to the format given by the FourCC. To see +the supported values of your device(s) use @option{list_formats}. +Note that there is a FourCC @option{'pal '} that can also be used +as @option{pal} (3 letters). + @item bm_v210 If set to @samp{1}, video is captured in 10 bit v210 instead of uyvy422. Not all Blackmagic devices support this option. @@ -296,21 +302,21 @@ ffmpeg -f decklink -list_formats 1 -i 'Intensity Pro' @end example @item -Capture video clip at 1080i50 (format 11): +Capture video clip at 1080i50: @example -ffmpeg -f decklink -i 'Intensity Pro@@11' -acodec copy -vcodec copy output.avi +ffmpeg -format_code Hi50 -f decklink -i 'Intensity Pro' -acodec copy -vcodec copy output.avi @end example @item Capture video clip at 1080i50 10 bit: @example -ffmpeg -bm_v210 1 -f decklink -i 'UltraStudio Mini Recorder@@11' -acodec copy -vcodec copy output.avi +ffmpeg -bm_v210 1 -format_code Hi50 -f decklink -i 'UltraStudio Mini Recorder' -acodec copy -vcodec copy output.avi @end example @item Capture video clip at 1080i50 with 16 audio channels: @example -ffmpeg -channels 16 -f decklink -i 'UltraStudio Mini Recorder@@11' -acodec copy -vcodec copy output.avi +ffmpeg -channels 16 -format_code Hi50 -f decklink -i 'UltraStudio Mini Recorder' -acodec copy -vcodec copy output.avi @end example @end itemize -- cgit v1.2.3