[GEM-dev] pix_video grabs with wrong resolution (again)

adrian goya adrian.goya at gmail.com
Sat Mar 21 06:12:11 CET 2009


Hello.

I found this old thread while searching for a solution to my problem.
http://lists.puredata.info/pipermail/gem-dev/2008-11/003729.html

I have the same behavior> pix_video displays only a portion of the
image, like it was zoomed in. The difference from what Max had back
then is that I am using a Fire-i camera with IOXperts driver.

If I send a dialog message to pix_video I see two different cameras
(only one is actually connected though): "Unibrain FIre-i" and
"mycamera". They are the same camera, "mycamera" is just the name
given when registering the "Unibrain Fire-i" with IOXperts. When the
dialog box appears "mycamera" is selected and the preview is only the
top left fraction of the image. I then click on "Unibrain Fire-i" and
the images gets fixed: the whole frame is displayed. I then choose
"mycamera" and is fixed aswell. I can then work normally.

I need to setup an installation that needs to automatically turn on
everyday and just work, so this manual setting is unacceptable. I
suppose that if I send a device message to pix_video to select
"Unibrain Fire-i" and then another selecting "mycamera" from within
the pd patch, a similar behavior would ensure and the problem would be
fixed. how do device messages in osx work? I get this in pd console
with pix_video:

[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List count 8 index 6
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  DV Video
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  DVCPRO
HD (1080i50)
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  DVCPRO
HD (1080i60)
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  DVCPRO
HD (720p25/50)
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  DVCPRO
HD (720p60)
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  IIDC
FireWire Video
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  mycamera
[pix_videoDarwin]: pix_videoDarwin: SG channnel Device List  USB
Video Class Video
[pix_videoDarwin]: pix_videoDarwin: SGSetChannelDevice trying DVCPRO
HD (720p60)
[pix_videoDarwin]: pix_videoDarwin: SGSetChannelDevice returned error 704
[pix_videoDarwin]: pix_videoDarwin : vdigName is r2

I tried using

 [device 0, input 0, dimen 640 480( as suggested here
http://www.mail-archive.com/pd-list@iem.at/msg15811.html    using
different device numbers but had no success.

any help would be appreciated. I do not know what else to do.

Thankyou all.




More information about the GEM-dev mailing list