[MPlayer-dev-eng] [PATCH] V4L UYVY format
Stephen Beahm
stephenbeahm at adelphia.net
Wed Nov 19 08:30:15 CET 2003
Hello,
The rivatv v4l capture device uses native UYVY format. I had to patch
mplayer MPlayer-1.0pre2 to make the 'outfmt=uyvy' option set the v4l
device properly.
--- libmpdemux/tvi_v4l.c.orig 2003-11-05 03:03:54.000000000 -0500
+++ libmpdemux/tvi_v4l.c 2003-11-05 02:55:44.000000000 -0500
@@ -241,6 +241,8 @@
return(VIDEO_PALETTE_YUV420P);
case IMGFMT_YUY2:
return(VIDEO_PALETTE_YUV422);
+ case IMGFMT_UYVY:
+ return(VIDEO_PALETTE_UYVY);
}
return(-1);
}
I am not subscribed to the list, so please forward any replies directly
to me.
Enjoy,
--
Stephen Beahm
mailto:stephenbeahm at adelphia.net
More information about the MPlayer-dev-eng
mailing list