[FFmpeg-devel] [PATCH 2/4] avdevice/decklink_enc: add support to specify field order

Marton Balint cus at passwd.hu
Thu Feb 23 18:24:29 EET 2017


On Thu, 23 Feb 2017, Matthias Hunstock wrote:

> Am 22.02.2017 um 23:46 schrieb Marton Balint:
>
>> diff --git a/doc/outdevs.texi b/doc/outdevs.texi
>> index e68653f..df41cc8 100644
>> --- a/doc/outdevs.texi
>> +++ b/doc/outdevs.texi
>> @@ -131,8 +131,8 @@ and @code{--extra-ldflags}.
>>  On Windows, you need to run the IDL files through @command{widl}.
>>
>>  DeckLink is very picky about the formats it supports. Pixel format is always
>> -uyvy422, framerate and video size must be determined for your device with
>> - at command{-list_formats 1}. Audio sample rate is always 48 kHz.
>> +uyvy422, framerate, field order and video size must be determined for your
>> +device with @command{-list_formats 1}. Audio sample rate is always 48 kHz.
>
>
>
> The "@mode" syntax does not work for output devices. Let me add a patch,
> I will send it tonight.

Please don't. The @mode syntax is insane. You need a different @mode for 
different hardware to get the same output format. @mode may even be 
different across driver versions. Thankfully, the output device does 
not need it, with the field order patch, I really see no reason to support 
it.

Regards,
Marton


More information about the ffmpeg-devel mailing list