Sven,
> Found it. I did not think that I would be able to read/understand the
> source-code. :)
>
Thanks for this comment, it got me on the right track.
My problem was that my camera is on /dev/video1.
I went into the source (uvc_stream.c) changed it to video1 and it worked.
> If I open localhost:8080 in firefox I get a 640x480 picture with I would say
> 1
> frame per second. Yet it makes firefox use 60% CPU and Xorg 20%, is that
> intended? How can I change the frame-rate and/or size?
>
In the source on line 178 you have this
if (init_videoIn(videoIn, "/dev/video1", 640, 480, 5,
V4L2_PIX_FMT_MJPEG, 1) < 0) {
hardcoded. Again I am not sure if this can be overridden
Also I am using Konqueror as the browser
> I am using it on a 1.4GHz Athlon with 1.5 GB RAM and a Geforce 4 with
> nvidia's
> binary driver.
>
I have about the same system using suse 10.1 and it does not appear to
be using much cpu itself, but konqueror is using about 60%. I only have
an old Matrox card.
> PS: Could this issue have the same reason as ekiga using 70% CPU when
> video-chatting with h261?
Don't know but if you get an answer can you post to this list.
Brian
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel