[MPlayer-users] Mplayer rawvideo y8

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Dec 11 12:40:10 CET 2004


Hi,
> Thanks very much for taking a look at my problem, much appreciated!
> Since its a pretty niche use, I can't/wouldn't expect that parsing to be
> fixed anytime soon. Perhaps the easiest thing for me to do would be

It was just a one-line just as expected. Please try the attached patch
(better do a make distclean, it seems that changes to etc/codecs.conf sometimes are
not correctly put into the binary).

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
RCS file: /cvsroot/mplayer/main/etc/codecs.conf,v
retrieving revision 1.380
diff -u -r1.380 codecs.conf
--- etc/codecs.conf	7 Dec 2004 22:05:04 -0000	1.380
+++ etc/codecs.conf	11 Dec 2004 11:38:20 -0000
@@ -1851,6 +1851,15 @@
   fourcc yvu9,YVU9
   out YVU9
 
+videocodec rawy800
+  info "RAW Y8/Y800"
+  status working
+  driver raw
+  format 0x0 
+  format 0x20203859 ; "Y8  "
+  fourcc y800,Y800
+  out Y800,Y8
+
 ; NULL codec - for testing.
 
 videocodec null
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.114
diff -u -r1.114 codec-cfg.c
--- codec-cfg.c	15 Nov 2004 09:09:27 -0000	1.114
+++ codec-cfg.c	11 Dec 2004 11:38:22 -0000
@@ -143,6 +143,8 @@
 		{"444P",  IMGFMT_444P},
 		{"422P",  IMGFMT_422P},
 		{"411P",  IMGFMT_411P},
+		{"Y800",  IMGFMT_Y800},
+		{"Y8",    IMGFMT_Y8},
 
 		{"YUY2",  IMGFMT_YUY2},
 		{"UYVY",  IMGFMT_UYVY},


More information about the MPlayer-users mailing list