From e9025573faf69416fcc29a689447e3296c3eaf58 Mon Sep 17 00:00:00 2001 From: Matthias Hunstock Date: Sun, 20 Dec 2015 11:57:32 +0000 Subject: decklink: support all valid numbers of audio channels As it is already written in the documentation, BMD DeckLink cards are capable of capturing 2, 8 or 16 audio channels (for SDI Inputs). Currently the value is hardcoded to 2. Introduces new option. Reviewed-by: Deti Fliegl Signed-off-by: Matthias Hunstock Signed-off-by: Marton Balint --- doc/indevs.texi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'doc/indevs.texi') diff --git a/doc/indevs.texi b/doc/indevs.texi index a3ed0e7405..3fb852b1f8 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -218,7 +218,8 @@ On Windows, you need to run the IDL files through @command{widl}. DeckLink is very picky about the formats it supports. Pixel format is uyvy422 or v210, framerate and video size must be determined for your device with @command{-list_formats 1}. Audio sample rate is always 48 kHz and the number -of channels can be 2, 8 or 16. +of channels can be 2, 8 or 16. Note that all audio channels are bundled in one single +audio track. @subsection Options @@ -246,6 +247,10 @@ can use the special @option{all} constant to select all possible lines, or receivers. Capturing teletext only works for SD PAL sources in 8 bit mode. To use this option, ffmpeg needs to be compiled with @code{--enable-libzvbi}. +@item channels +Defines number of audio channels to capture. Must be @samp{2}, @samp{8} or @samp{16}. +Defaults to @samp{2}. + @end table @subsection Examples @@ -276,6 +281,12 @@ Capture video clip at 1080i50 10 bit: ffmpeg -bm_v210 1 -f decklink -i 'UltraStudio Mini Recorder@@11' -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 +@end example + @end itemize @section dshow -- cgit v1.2.3