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

Matthias Hunstock atze at fem.tu-ilmenau.de
Thu Feb 23 22:33:43 EET 2017


Am 23.02.2017 um 17:24 schrieb Marton Balint:
>> 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.

I know... the numbers are really a mess.

What about supporting the mode strings? They are constant:

bmdModeHD1080i50 = /* 'Hi50' */ 0x48693530

At least for capture this is IMO a benefit:

ffmpeg -f decklink -i 'DeckLink Duo at Hi50'

For playout... well if the automatic detection works and interlaced flag
is always correct, fps is always correct (30 vs 29.97)... to be honest:
if I'd do a setup, I'd sleep better with an explicit mode. But yeah, not
those numbers.



Matthias


More information about the ffmpeg-devel mailing list