[FFmpeg-devel] [PATCH 3/3] add digital cinema frame sizes

Michaël Cinquin mc at michaelcinquin.com
Sat Feb 2 23:35:33 CET 2013


On 2 févr. 2013, at 23:11, Dave Rice wrote:
> 
> diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
> index ca40569..4f49ef8 100644
> --- a/libavutil/parseutils.c
> +++ b/libavutil/parseutils.c
> @@ -109,6 +109,12 @@ static const VideoSizeAbbr video_size_abbrs[] = {
>     { "hd480",     852, 480 },
>     { "hd720",    1280, 720 },
>     { "hd1080",   1920,1080 },
> +    { "2K",       2048,1080 }, /* Digital Cinema System Specification */
> +    { "2Kflat",   1998,1080 },
> +    { "2Kscope",  2048, 858 },
> +    { "4K",       4096,2160 }, /* Digital Cinema System Specification */
> +    { "4Kflat",   3996,2160 },
> +    { "4Kscope",  4096,1716 },
> };
> 
> I left out "full container" from 2K and 4K since as you say this is a code name, while these sizes are official according to the spec.
> Dave

looks good to me

Michaël


More information about the ffmpeg-devel mailing list