[GEM-dev] pix_video

cyrille henry cyrille.henry at la-kitchen.fr
Thu Apr 27 23:11:57 CEST 2006


hello,

i made more test as you sugested.
i updated gem sources to the 2005-12-01 from cvs, compile, and the 
webcam is working.
same operation with 2006-01-01, and the webcam is not working.
so the 15 december checkin seems to have break something.


IOhannes m zmoelnig a écrit :
> more questions....
> 
> cyrille henry wrote:
> 
>>hello,
>>
>>did anything change in pix_video in the last few mounth?
>>my webcam did not work anymore with new gem build.
>>it still work with build made before 02/06.
>>
> 
> 
> do you mean, your working build is from february 2006?
> there have been no relevant (to video grabbing) changes since then.
> (the last relevant checkin i found was on 15th december 2005)
> 
> could you re-compile that old source (both or either from feb.06 and/or
> 01.dec.05) on your machine and see what happens? (make a backup of your
> "good" Gem.pd_linux :-))
> 
> does it say anything at the pd-console OR the stderr?
> 
before turning rendering on : i've got in the pd-console :

video driver 0: video4linux
video driver 1: ieee1394 for linux
GEM: pix_video: Opened video connection 6

starting rendering gives :

Direct Rendering enabled!
GEM: Start rendering
pix_videoNEW: starting transfer
closing video

in the terminal, during rendering, i've got :
VIDIOCSYNC: Bad file descriptor
VIDIOCMCAPTURE1: Bad file descriptor
VIDIOCMCAPTURE2: Bad file descriptor
at each frame.

copying pix_video* from 2005-12-01 to curent cvs snapshot make my webcam 
to work again.

so, the problem is in new pix_objects.

my webcam is an old philips.

should i make anything else to help?

cyrille


> btw, i noticed that the video4linux2 is not enabled by default.
> i just checked in a configure-check for v4l2, so you could also try to
> enable it (you have to do it explicitely with "--enable-v4l2")
> 
> mfga.r
> IOhannes
> 
> 




More information about the GEM-dev mailing list