[FFmpeg-devel] [PATCH 2/3] decklink: new option 'format' to set video format by fourCC

Reuben Martin reuben.m at gmail.com
Fri Mar 17 05:56:41 EET 2017


On Thursday, March 16, 2017 3:54:39 PM CDT Marton Balint wrote:
> On Thu, 16 Mar 2017, Nicolas George wrote:
> > Le sextidi 26 ventôse, an CCXXV, Matthias Hunstock a écrit :
> >> I did not find a comparable option for another device in libavdevice,
> >> "format" was the initial suggestion of Marton. This is at least
> >> consistent with the existing "list_formats" option.
> > 
> > I do not know what the option does, and therefore can not propose a
> > better name.
> 
> It selects video standard, field order and frame rate, these fourcc-s are
> defined in the BlackMagic SDK. Example: 'Hp50'  - HD 1080p50 format.
> 
> > All I know is that we decided not to build an inconvenient
> > infrastructure to avoid the collision between global, format, codecs
> > options, at the cost of having to be careful when adding said options.
> > This is exactly one of these cases: "format" can be added as a global
> > option, as a ffmpeg.c option or anything else, because it is very
> > generic.
> 

How about “scan_format”, to be act as a collection of sub-elements 
“scan_width”, “scan_rate” and "scan_type"?


More information about the ffmpeg-devel mailing list