Laurent, thanks again! Checked the latest uvcvideo revision, and my
camera works fine...

Kudos for your hard work!

To all who may concern, camera works with luvcview, ekiga and mplayer
without any hassle. I will try other japanese Sanyo cellphone models
with this as soon as i get chance...

some mplayer syntax;

mplayer -tv
driver=v4l2:width=320:height=240:device=/dev/video0:fps=15:outfmt=yuy2 tv://

camera worked with gstreamer too, when specifying some pipeline settings
like;

gst-launch-0.10 v4l2src ! jpegdec ! xvimagesink

and even gstreamer-properties, when specifying custom video plugin
settings, as;

v4l2src device="/dev/video0" ! jpegdec ! ffmpegcolorspace

but for some strange reasons, these custom settings doesn't stick in the
properties!?!

i also made it work with Skype beta 2, by using a thing called
gstfakevideo (or skype_video_hijacker, how it was previously called);

sudo mv /dev/video0 /dev/video1
gstfakevideo v4l2src device=/dev/video1 ! jpegdec ! ffmpegcolorspace

note that these 'tricks' might also work with other non-YUV, MJPEG only
UVC cameras...


Samir


Laurent Pinchart wrote:
> Hi Samir,
> 
> On Thursday 29 November 2007, Samir Ibradzic wrote:
>> Laurent, you are just remarkable!
> 
> Thanks :-)
> 
>> Camera worked, just after the patch was applied!
> 
> I committed it to SVN.
> 
>> I tested it using lucview, though no controls are working...
> 
> That's because your phone has no video controls, so that's pretty normal.
> 
>> here's dmesg;
>>
> [snip]
>> ...
>>
>> Why all these details in kernel messages? Just for the sake of the test?
> 
> Those are debug messages. You can turn them off by setting the trace 
> parameter 
> back to 0.
> 
>> How can i set it up to work in gstreamer?
>>
>> I have the following error in gstreamer-properties;
>>
>> gstreamer-properties-Message: Error running pipeline 'Video for Linux 2
>> (v4l2)': Could not negotiate format [gstbasesrc.c(2062):
>> gst_base_src_start (): /pipeline0/v4l2src3:
>> Check your filtered caps, if any]
> 
> I've never really used gstreamer, so don't know what goes wrong. Your phone 
> supports MJPEG only while most other UVC devices support YUV as well. That 
> might be a clue.
> 
>> Thanks again for your hard work! This means one more camera can work in
>> Linux! Actually, there is a whole line of Sanyo (au) cellphones
>> available here in japan, who probably use same or very similar camera
>> USB interface...
> 
> Best regards,
> 
> Laurent Pinchart
> 
> --- AV & Spam Filtering by M+Guardian - Risk Free Email (TM) ---
> 
> 



_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to