Hi: The problem is you have to tell v4l2 which one is the right reference for your pixel format. I think they have already added, but if you have this problem please check it. Open pjmedia/src/pjmedia-videodev/*v4l2_dev.c *replace this table : static vid4lin_fmt_map v4l2_fmt_maps[] = { { PJMEDIA_FORMAT_YV12, V4L2_PIX_FMT_YVU420 }, { PJMEDIA_FORMAT_RGB24, V4L2_PIX_FMT_BGR24 }, { PJMEDIA_FORMAT_RGBA, V4L2_PIX_FMT_BGR32 }, { PJMEDIA_FORMAT_RGB32, V4L2_PIX_FMT_BGR32 }, { PJMEDIA_FORMAT_AYUV, V4L2_PIX_FMT_YUV32 }, { PJMEDIA_FORMAT_YUY2, V4L2_PIX_FMT_YUYV }, { PJMEDIA_FORMAT_UYVY, V4L2_PIX_FMT_UYVY }, { PJMEDIA_FORMAT_IYUV, V4L2_PIX_FMT_YUV420 } }; Hi: I am still playing with pjsip 2.0 with the video. I am triying to setup de camera under linux, but I have a problem. When I run ./vstreamutil.c I get the next output. 16:43:50.888 v4l2_dev.c Found capture device UVC Camera (046d:0990) 16:43:50.889 v4l2_dev.c Enumerating formats: 16:43:52.211 v4l2_dev.c Unsupported: MJPEG 16:43:52.211 v4l2_dev.c Supported: YUV 4:2:2 (YUYV) 16:43:52.211 v4l2_dev.c Unsupported: RGB3 16:43:52.211 v4l2_dev.c Supported: BGR3 16:43:52.211 v4l2_dev.c Unsupported: YU12 16:43:52.211 v4l2_dev.c Unsupported: YV12 16:43:52.211 v4l2_dev.c Video4Linux2 initialized with 1 devices 16:43:52.211 colorbar_dev.c Colorbar video src initialized with 1 devices: 16:43:52.211 sdl_dev.c SDL initialized and as ffmpeg only suppor I420 and YV12 (if I am not wrong) I get the problem that the pixel format from the camera and the codec doesn' t match so it launchs an error. >From my point of view I think that mz v4l2 is doing something wrong because when I look the dev I see some references to YV12 but it sais that is unsupported. Could you help me? Regards Jorge -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110318/c78605cd/attachment.html>