[FFmpeg-cvslog] parseutil: Add more resolution aliases

Luca Barbato git at videolan.org
Mon Jul 20 04:43:20 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Jul 17 00:31:54 2015 +0200| [e93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2] | committer: Luca Barbato

parseutil: Add more resolution aliases

Add DCI 2k and 4k and uhd1 and uhd2.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2
---

 doc/avconv.texi        |    8 ++++++++
 libavutil/parseutils.c |    4 ++++
 2 files changed, 12 insertions(+)

diff --git a/doc/avconv.texi b/doc/avconv.texi
index aea41d9..43215a0 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -493,6 +493,14 @@ abbreviations are recognized:
 1280x720
 @item hd1080
 1920x1080
+ at item 2kdci
+2048x1080
+ at item 4kdci
+4096x2160
+ at item uhd1
+3840x2160
+ at item uhd2
+7680x4320
 @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..d205fc4 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -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[]= {



More information about the ffmpeg-cvslog mailing list