camserv-0.42 expects that the image is returned in
RGB24 color format by the videodevice.
However, some drivers like the Philips webcam driver
for Linux (http://www.smcc.demon.nl/webcam/) only
support the YUV420P color palette.
This patch adds the rgb24 to yuv420p color palette
conversion functions (ripped from the xawtv sources)
and makes camserv _expect_ the YUV420P color
Therefore, this patch should only be applied by users
using camserv with drivers supporting the YUV420P
I'd glad if someone adds some code to check for the
supported color palettes and use the required
conversion functions accordingly.
Comments or questions are welcome.
PS: To apply the patch cd into the directory where you
extracted the camserv-0.42 source and do:
patch -p1 < camserv-0.42_yuv.diff
Then configure and build camserv as usual,
documented in the INSTALL and README files.
Log in to post a comment.