Web lists-archives.com

[MPlayer-dev-eng] [PATCH] codecs.conf: add pixel formats for ffvp9.

The following pixel formats are present in the source too
but have no MPlayer name:

 etc/codecs.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Tested (and necessary) with 444P, other formats taken from the source code
(read_colorspace_details() in vp9.c).

Also tested with GBR24P: it starts working instead of flooding with error
messages but the colors are wrong; colors are wrong the same way with
ffplay, so I guess it is a bug in lavc, I will investigate if I have time.
Wrong colors are still better than a flood of error messages.

Will commit shortly if nobody objects, and even faster if someone approves.

diff --git a/etc/codecs.conf b/etc/codecs.conf
index b18829a..d8010eb 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -3015,7 +3015,11 @@ videocodec ffvp9
   fourcc VP90
   driver ffmpeg
   dll "vp9"
-  out YV12
+  out YV12,420P10,420P12
+  out 422P,422P10,422P12
+  out 440P
+  out 444P,444P10,444P12
+  out GBR24P
 videocodec fflibvpx
   info "FFmpeg wrapper for libvpx/VP8"

MPlayer-dev-eng mailing list