jit.grab not working

Driftnote's icon

Since I install Max 7.2 my camera no longer works.

jit.grab loads the camera. the green light on my laptop turns on but there is no image on the jit.window not jit.pwindow.

I am using the jit.grab reference example to run the test.

does anyone know what the issue is?

MacBook Pro (Retina, Mid 2012)
2.7 GHz Intel Core i7
NVIDIA GeForce GT 650M 1024 M
16 GB 1600 MHz DDR3

ndrfnk's icon

I have the same problem with Max 6.1.5...
Just try to open an old patch and it doesn't seems to reach any signal. Tried with the jit.qt.grab reference as well and no luck...
I've tried with photo booth, isadora, quarz composer and they are able to use the built-in camera..

MacBook Pro (15-inch, Mid 2012)
2,7 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 650M 1024 MB

Screen-Shot-2016-03-11-at-17.06.10.png
png
Driftnote's icon

I realized that you have to send the "getvdevlist" and parse the right out put of jit.grab just like in the help file. Then in the umenu select the camera and it should work. It's annoying to have to do this extra steps since it wasn't necessary in the past.

ndrfnk's icon

Thanks Drifnote. By the way that was the image of the help file..
In every case you were right. After starting the q-metro and opening the camera. Clicking to get device list and then select the right one in the umenu it works.

Max Patch
Copy patch and select New From Clipboard in Max.

this below is a simple patch that does the work as soon as you click the open message
Hope that it could help

Driftnote's icon

Awesome! that does the trick and i saved it as a snippet for future use!

Johnnyc777's icon

Awesome thanks dude, this worked with my new Touchbar Macbook and latest Max. It was so annoying!

Fabian Kesler's icon

Today I tried yo run my webcam patches but my camera is not viewed by Max properly. Tried QT and VIDDLL options on Jitter. It is detected on the umenu, but black screen when turning on and the messages:
COULD NOT BIND MONIKER TO FILTER
COULD NOT FIND VIDEO CAPTURE DEVICE
With Vizzie the same. Tried with dx.grab, qt.grab and grab objects.
I have Win7, directx and quick time installed, the webcam is working ok with another software both viewing and recording, 32bits of resolution on the screen. Any idea?
Thanks very much!

system and max version : Max 7.3, Windows 7, GPU Intel.

Rob Ramirez's icon

what changed on your system? are your camera drivers up to date?

Fabian Kesler's icon

Hi and thanks. Nothing changed. Do you think it is a driver problem from the camera, not from Max? Thanks again.

Rob Ramirez's icon

i would check out camera drivers, maybe uninstall and reinstall.

you could also try deleting or moving your Max preferences:
Delete your Preferences files in the folder: 'c:\Users\[Your username]\AppData\Roaming\Cycling 74'. Note that 'Application Data' is an invisible folder and may need to be made viewable.

Moke Li's icon

I'm using the Max 7.3.5 Mac version. jit.grab not working :<
it shows error message like these:
jit.grab: jit.qt.grab: could not create video channel -9405
jit.grab: jit.qt.grab: error opening device for grab.

Please help!


Rob Ramirez's icon

did you set your video engine to qt? if so, and you want to keep it that way, try [ jit.grab @engine avf ]
otherwise change your video engine preference back to avf.

Moke Li's icon

Hi Rob,
Thanks for replying!
I use the logitech small camera to get video in, it works in max 7.0.1, but not working in max7.3.5 anymore, also max can't find apple built-in isight camera anymore in 7.3.5. The name of logitech camera is not showing in the umenu.

Rob Ramirez's icon

open your Max application preferences window, make sure All is selected, scroll down to find "Video Engine" and change it to "avf". restart Max.

Moke Li's icon

Woow~~Thanks alot Rob, I just tried and it works! Really appreaciate! (Also, do you know any online community to learn more about maxmsp?

auracacia's icon

Hi, I'm receiving the same error messages:

jit.grab: jit.qt.grab: could not create video channel -9405

jit.grab: jit.qt.grab: error opening device for grab

I'm running an earlier version of Max - 5.1.9, and "Video Engine" isn't listed under preferences. Anyone know where I can find it to try the "avf" adjustment?

Rob Ramirez's icon

the avf engine was introduced in max 7.
in max 6 we introduced qtkit drivers to support facetime cameras for jit.grab.
i don't believe max 5 has any support for facetime cameras.