Add DCI 2k and 4k and uhd.
---

As Vittorio suggested, now with also the documentation updated

 doc/avconv.texi        | 6 ++++++
 libavutil/parseutils.c | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/doc/avconv.texi b/doc/avconv.texi
index aea41d9..e557002 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -493,6 +493,12 @@ abbreviations are recognized:
 1280x720
 @item hd1080
 1920x1080
+@item 2kdci
+2048x1080
+@item 4kdci
+4096x2160
+@item uhd
+3840x2160
 @end table

 @item -aspect[:@var{stream_specifier}] @var{aspect} (@emph{output,per-stream})
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index be238f0..07e7d6a 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -80,6 +80,9 @@ static const VideoSizeAbbr video_size_abbrs[] = {
     { "hd480",     852, 480 },
     { "hd720",    1280, 720 },
     { "hd1080",   1920,1080 },
+    { "2kdci",    2048,1080 },
+    { "4kdci",    4096,2160 },
+    { "uhd",      3840,2160 },
 };

 static const VideoRateAbbr video_rate_abbrs[]= {
--
2.3.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to