[MPlayer-dev-eng] [PATCH] Add support for 10bit H.264

Arne Bochem arneb.mp at ccan.de
Sat May 7 20:02:41 CEST 2011


This patch adds support for actually displaying 10bit H.264. Decoding
for it was recently added to ffmpeg.

Sample file:
http://ps-auxw.de/10bit-h264-sample/10bitwhite.mkv

Regards,
Arne Bochem
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf	(revision 33398)
+++ etc/codecs.conf	(working copy)
@@ -1064,7 +1064,7 @@
   format 0x10000005
   driver ffmpeg
   dll h264
-  out YV12,I420,IYUV
+  out YV12,I420,IYUV,420P16
 
 videocodec ffh264vdpau
   info "FFmpeg H.264 (VDPAU)"
Index: fmt-conversion.c
===================================================================
--- fmt-conversion.c	(revision 33398)
+++ fmt-conversion.c	(working copy)
@@ -74,6 +74,8 @@
 
     {IMGFMT_420A,  PIX_FMT_YUVA420P},
 
+    {IMGFMT_420P16_LE,  PIX_FMT_YUV420P10LE},
+    {IMGFMT_420P16_BE,  PIX_FMT_YUV420P10BE},
     {IMGFMT_420P16_LE,  PIX_FMT_YUV420P16LE},
     {IMGFMT_420P16_BE,  PIX_FMT_YUV420P16BE},
     {IMGFMT_422P16_LE,  PIX_FMT_YUV422P16LE},


More information about the MPlayer-dev-eng mailing list