[FFmpeg-devel] [PATCH] decklink: support all valid numbers of audio channels
Timothy Gu
timothygu99 at gmail.com
Sat Dec 19 23:29:38 CET 2015
Hi,
On Sat, Dec 19, 2015 at 11:23 AM Matthias Hunstock <
matthias.hunstock at tu-ilmenau.de> wrote:
> Am 18.12.2015 um 20:25 schrieb Matthias Hunstock:
> > Introduces new option.
>
> PS. I did not find any ressources on how to properly name new FFmpeg
> options, e.g. to be consistent. Using the existing "ac" option did not
> work.
>
In this situation, it is always good to check what others are using :)
In this case, all the input devices seem to use "channels":
https://github.com/FFmpeg/FFmpeg/blob/master/libavdevice/alsa_dec.c#L146
https://github.com/FFmpeg/FFmpeg/blob/master/libavdevice/dshow.c#L1269
Indeed, -ac is actually mapped to "channels" within the ffmpeg program:
https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg_opt.c#L900
> I would like to add some more features, like selection of video and/or
> audio input jack, to improve the coverage of the DeckLink API.
>
> I also have access to several different BM cards, so I can test things
> with real hardware.
>
Great!
Timothy
More information about the ffmpeg-devel
mailing list