]> git.sesse.net Git - ffmpeg/commitdiff
parseutil: Add more resolution aliases
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 16 Jul 2015 22:31:54 +0000 (00:31 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 20 Jul 2015 02:05:48 +0000 (04:05 +0200)
Add DCI 2k and 4k and uhd1 and uhd2.

doc/avconv.texi
libavutil/parseutils.c

index aea41d9eec600cde04af373bfcab40b299c79281..43215a08e56fc98232653d1f1e5fc525992af361 100644 (file)
@@ -493,6 +493,14 @@ abbreviations are recognized:
 1280x720
 @item hd1080
 1920x1080
+@item 2kdci
+2048x1080
+@item 4kdci
+4096x2160
+@item uhd1
+3840x2160
+@item uhd2
+7680x4320
 @end table
 
 @item -aspect[:@var{stream_specifier}] @var{aspect} (@emph{output,per-stream})
index be238f0dde8fc9395f8af227b2851d5123703c70..d205fc401c01ab98874804eebef7132c294ebbdd 100644 (file)
@@ -80,6 +80,10 @@ static const VideoSizeAbbr video_size_abbrs[] = {
     { "hd480",     852, 480 },
     { "hd720",    1280, 720 },
     { "hd1080",   1920,1080 },
+    { "2kdci",    2048,1080 },
+    { "4kdci",    4096,2160 },
+    { "uhd1",     3840,2160 },
+    { "uhd2",     7680,4320 },
 };
 
 static const VideoRateAbbr video_rate_abbrs[]= {