[Ekiga-list] Colour format not supported with ekiga-svn
- From: Stefan Lucke <stefan lucke in-berlin de>
- To: Ekiga mailing list <ekiga-list gnome org>
- Subject: [Ekiga-list] Colour format not supported with ekiga-svn
- Date: Tue, 30 Dec 2008 18:39:13 +0100
Hi,
I'm trying current svn version of ekiga & co (was a checkout from yesterday).
My camera 'logitech quickcam connect' (046d:08d9) works quite well
with ekiga 2.0.11, 2.0.12, 3.0.1 but unfortunately not with current svn.
Message from error-box is:
"Your driver doesn't seem to support any of the color formats supported by Ekiga.
Please check your kernel driver documentation in order to determine which Palette is supported. ..."
From kernel v4l-dvb driver: v4l-dvb/linux/drivers/media/video/gspca/zc3xx.c:
static struct v4l2_pix_format vga_mode[] = {
{320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
.bytesperline = 320,
.sizeimage = 320 * 240 * 3 / 8 + 590,
.colorspace = V4L2_COLORSPACE_JPEG,
.priv = 1},
{640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
.bytesperline = 640,
.sizeimage = 640 * 480 * 3 / 8 + 590,
.colorspace = V4L2_COLORSPACE_JPEG,
.priv = 0},
};
static struct v4l2_pix_format sif_mode[] = {
{176, 144, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
.bytesperline = 176,
.sizeimage = 176 * 144 * 3 / 8 + 590,
.colorspace = V4L2_COLORSPACE_JPEG,
.priv = 1},
{352, 288, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
.bytesperline = 352,
.sizeimage = 352 * 288 * 3 / 8 + 590,
.colorspace = V4L2_COLORSPACE_JPEG,
.priv = 0},
};
Should I get a new cam?
For successfully compiling opal with my ffmpeg version,
I had to apply the attached patch.
--
Stefan Lucke
Index: plugins/video/H.263-1998/h263-1998.cxx
===================================================================
--- plugins/video/H.263-1998/h263-1998.cxx (revision 21872)
+++ plugins/video/H.263-1998/h263-1998.cxx (working copy)
@@ -450,14 +450,20 @@
if (!H263_Base_EncoderContext::Open(CODEC_ID_H263))
return false;
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
_context->rtp_mode = 1;
+#endif
_context->rtp_payload_size = 200;
_context->rtp_callback = &rtp_callback;
_context->opaque = (H263_RFC2190_EncoderContext *)this; // used to separate out packets from different encode threads
_context->flags &= ~CODEC_FLAG_H263P_UMV;
_context->flags &= ~CODEC_FLAG_4MV;
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
_context->flags &= ~CODEC_FLAG_H263P_AIC;
+#else
+ _context->flags &= ~CODEC_FLAG_AC_PRED;
+#endif
_context->flags &= ~CODEC_FLAG_H263P_AIV;
_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]