[GEM-dev] dimen problem with 2 pix_video object
cyrille henry
cyrille.henry at la-kitchen.fr
Sat Jan 12 16:02:28 CET 2008
i made an other test :
forcing V4L to use 640x480 frame by changing in the videoV4L.cpp :
// if (!m_width)m_width=64;
// if (!m_height)m_height=64;
m_width=640;
m_height=480;
then i still have a black image the last pix_video to be set to use the webcam. i.e:
send device 1 to the 1st pix_video -> ok
send device 2 to the 2nd pix_video -> the video stay black but every other thing work.
or
send device 1 to the 2st pix_video -> ok
send device 2 to the 1nd pix_video -> the video stay black but every other thing work.
cyrille
cyrille henry a écrit :
> hello,
> i've got 2 philips webcam SPC900. i plan to use them in an installation.
>
> there as been some discution on this list about this webcam in september.
>
> i've got a diferent problem that is introduced only using 2 of this camera in the same time.
>
>
> i made a simple test patch that just have 2 pix_video, and a message "device 1" and "device 2"
> (device 0 is my internal webcam)
>
>
>
> the problem is :
>
> send device 1 to the 1st pix_video -> ok
> send dimen 640x480 to the 1st pix_video -> ok
> send device 2 to the 2nd pix_video -> ok
> send dimen 640x480 o the 2nd pix_video -> the video stay black but every other thing work.
> sending a device 0, or removing the 2nd pix_video make everything to stop and i have to manually kill pd
>
>
> changing order give the about the same result :
> send device 1 to the 1st pix_video -> ok
> send device 2 to the 2nd pix_video -> ok
> send dimen 640x480 o the 2nd pix_video -> the video stay black but every other thing work.
> send dimen 640x480 to the 1st pix_video -> ok
>
>
> send device 2 to the 2nd pix_video -> ok
> send device 1 to the 1st pix_video -> ok
> send dimen 640x480 o the 2nd pix_video -> the video stay black but every other thing work.
> send dimen 640x480 to the 1st pix_video -> ok
>
>
> send device 2 to the 2nd pix_video -> ok
> send dimen 640x480 o the 2nd pix_video -> ok
> send device 1 to the 1st pix_video -> the video stay black but every other thing work.
>
>
> what i call : 1st pix_video, is the 1st to be rendered.
>
>
>
> i tied to store the image size in the memory of the cam with the setpwc tools, in order to test Iohannes patch to restore setting.
> but i've got 2 problems :
> -setpwc does not work for saving and restoring data in the non volatil ram (Roman : it was working for you : do you hae an ida why it's not working here?)
> -just like Roman, i've got black frames when using iohannes patch. (i don't know if it's important but this black frame disapear when i change size of the video)
>
>
> so, i can't have 2 of this webcam at a good quality on the same time, and it's a major problem for my installation.
>
>
> i also try to use them in 2 diferents pd on the same time, and i've got the same problem.
> if i use my internal webcam + an external one, then everything work.
>
>
> so, i suspect a driver problem, and don't know if a solution could be find.
> what do you think?
>
>
> if it's a driver problem, then i'll certainly have to buy another webcam.
> does anyone have a recommandation to make, for a linux compatible webcam?
>
> thanks
> Cyrille
>
>
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
>
More information about the GEM-dev
mailing list