[FFmpeg-devel] [PATCH 2/4] doc/encoders: add libx264rgb doc and supported pixfmts for libx264(rgb)

Timothy Gu timothygu99 at gmail.com
Sun Jan 5 04:24:30 CET 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
Not sure about libx264rgb. Is packed RGB encoding supported on high bit depth
x264 builds?
---
 doc/encoders.texi | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 69 insertions(+), 1 deletion(-)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index aa1af2c..e921409 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1506,7 +1506,7 @@ Text-like
 
 @end table
 
- at section libx264
+ at section libx264, libx264rgb
 
 x264 H.264/MPEG-4 AVC encoder wrapper.
 
@@ -1528,6 +1528,74 @@ by the libx264 @code{x264_param_parse} function.
 The x264 project website is at
 @url{http://www.videolan.org/developers/x264.html}.
 
+The libx264rgb encoder is the same as libx264, except it accepts RGB pixel
+formats as input instead of YUV. More information in next subsection.
+
+ at subsection Supported Pixel Formats
+
+x264 supports 8- to 10-bit color spaces. The exact bit depth is controlled at
+x264's configure time. FFmpeg only supports one bit depth in one particular
+build. In other words, it is not possible to build one FFmpeg with multiple
+versions of x264 with different bit depths.
+
+The supported pixel formats for each bit depth is listed below.
+
+ at subsubsection 8-bit Formats
+
+The following 8-bit pixel formats are supported:
+
+ at itemize
+ at item
+YUV420P
+ at item
+YUVJ420P
+ at item
+YUV422P
+ at item
+YUVJ422P
+ at item
+YUV444P
+ at item
+YUVJ444P
+ at item
+NV12
+ at item
+NV16
+ at end itemize
+
+ at subsubsection 8-bit Packed RGB Formats
+
+The following 8-bit packed RGB pixel formats are supported:
+
+ at itemize
+ at item
+BGR24
+ at item
+RGB24
+ at end itemize
+
+ at subsubsection 9-bit Formats
+
+The following 9-bit pixel formats are supported:
+ at itemize @code
+ at item
+YUV420P9
+ at item
+YUV444P9
+ at end itemize
+
+ at subsubsection 10-bit Formats
+
+The following 10-bit pixel formats are supported:
+ at itemize @code
+ at item
+YUV420P10
+ at item
+YUV422P10
+ at item
+YUV444P10
+ at end itemize
+
 @subsection Options
 
 The following options are supported by the libx264 wrapper. The
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list