jit.grab(unique enabled) FullHD 60fps videocapture which webcam? (Windows11)
(Windows11)
Is there a webcam which is known to capture using jit.grab 1920x1080 with real 60fps?
So when unique is enabled in jit.grab? I tested some and so far had no luck, just got 30fps, although these cameras state they support 1920x1080@60fps, is there an explanation for this?
Yes, direct connection using USB 3 ports.
I tried several webcams with 1920x1080, jit.grab unique enabled:
jit.grab fps reports (Max 8.5.4):
Dell Ultrasharp Webcam: 24fps
Logitech Brio 4K: 30fps
Logitech StreamCam: 30fps
Razor Kiyo Pro: 30fps
Elgato FaceCam: almost 60fps, but stuttering/hickup video every few seconds
So at this point I give up having a webcam with Max Windows which runs at real 60fps.
If anybody is achieving better results, please let me know.
Thanks for investigating this and sharing your findings
I took a look and found some potential fixes to improve support for capture devices on Windows. It would be super helpful if you could try out this experimental update and let me know your results.
First thing to mention, you may have to disable "Low Light Compensation" on the device by sending the message "settings" to the jit.grab object with a device opened. On my device, there is a checkbox for this in the "Camera Control" tab of the settings window.
With this updated grab external, it should attempt to open a particular device format using the highest framerate available. If you'd like to change that framerate to something lower (e.g. to increase the exposure of the image), you can do that by adjusting the new "fps" attribute, and then re-opening the device. The device will now remember the last format used, and attempt to open with the framerate provided. Set this fps to 0 to go back to the default.
The getformatlist message will now append this max framerate value to the entries, so I'd be curious to see what your various cameras report now as their formatlist. Maybe this will be enough to distinguish entries with the same menu description.
To try out this update, unzip the attachment and drag the included jit.dx.grab.mxe64 file into the following location, or wherever your Max 8 is installed, replacing the file already there (you may want to back up the original first, but make sure it's out of your search path): C:\Program Files\Cycling '74\Max 8\resources\externals\jitter
Please let me know how it goes.
Thanks a lot for your effort although it seems not solving my problem.
For the Dell Ultrasharp Webcam jit.grab now reports:
print: formatlist "YUY2 [640 x 480] 30" "YUY2 [640 x 360] 30" "YUY2 [1280 x 720] 24" "YUY2 [1280 x 720] 30" "YUY2 [1920 x 1080] 24" "YUY2 [1920 x 1080] 30" "MJPG [640 x 480] 30" "MJPG [1280 x 720] 24" "MJPG [1280 x 720] 30" "MJPG [1280 x 720] 60" "MJPG [1920 x 1080] 24" "MJPG [1920 x 1080] 30" "MJPG [1920 x 1080] 60" "MJPG [2560 x 1440] 24" "MJPG [2560 x 1440] 30" "MJPG [3840 x 2160] 24" "MJPG [3840 x 2160] 30" "NV12 [640 x 480] 30" "NV12 [640 x 360] 30" "NV12 [1280 x 720] 30" "NV12 [1920 x 1080] 30"
But when enabling unique for the MJPG [1920 x 1080] 60 entry jit.grab reports 24fps
Here are the framerates for different settings:
unique[x] , output_texture [x], colormode [argb]: 24fps
unique[x] , output_texture [ ], colormode [argb]: 24fps
unique[x] , output_texture [ ], colormode [uyvy]: 30fps
What is the reason for the framerate difference in colormode argb/uyvy?
See my Max patch attached. Is there something I am missing?
Hello Ed,
Just curious, does the camera report 60fps using another software?
Thx,
B
glad we're at least getting (theoretical) supported framerate in the description now.
did you disable light compensation as described above? Maybe you also need to disable auto exposure as well.
Did you try another format like 1280x720 60? another camera? is there something else taking bus bandwidth on your machine? is your CPU fast enough? also curious what other software is exhibiting (e.g. OBS).
@unique 1 @output_texture 1 should be all that's needed, and the most efficient codepath.
on my machine, with this updated grabber and a Logitech camera that supports 720p at 60 fps I'm now able to achieve that framerate. it takes a few seconds after disabling the light compensation for the 60 fps to kick in (and the image exposure to drop).
Yes, I disabled light compensation and auto exposure
I tried with the Dell Webcam on a a second computer, full usb bandwith, powerfull CPU, same findings
The Windows Camera App and OBS and the Dell Software expose the 1080p 60fps as well, but how do I know that there are real unique 60 fps?
From the Logfile of OBS
19:06:11.676: ---------------------------------
19:06:11.676: [DShow Device: 'Video Capture Device'] settings updated:
19:06:11.676: video device: Dell Webcam WB7022
19:06:11.676: video path: \\?\usb#vid_413c&pid_c015&mi_00#7&37929358&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
19:06:11.676: resolution: 1920x1080
19:06:11.676: flip: 0
19:06:11.676: fps: 60.00 (interval: 166666)
19:06:11.676: format: MJPEG
I know that jit.grab is able to grab unique 60fps,
I do achieve unique 1920x1080@60fps when using Magewell HDMI USB Grabber or Magewell/Blackmagic/Elgato PCI Grabbercards
> Did you try another format like 1280x720 60?
Yes, 24fps with the Dell Ultrasharp Webcam
> another camera?
At this time I just have the Dell for testing
Did you enable 60 fps output in the camera's software?
The Dell Ultrasharp webcam’s productivity software, Dell Peripheral Manager, is where a lot of this camera’s magic happens. Aside from being where you’ll adjust the camera’s capture resolution (720p, 1080p or 4K) and its field-of-view (65 degrees, 75 degrees and 90 degrees), it’s also where you’ll access a lot of its special features.
These include HDR, AI auto-framing, digital zoom, anti flicker (50Hz and 60Hz), plus the ability to adjust your camera to capture footage at 24, 30 or 60 fps. There’s also two toggle switches for focus and white balance, which let you choose to either adjust these settings manually or let the camera do it automatically. You can also change brightness, sharpness, contrast and saturation in the app or choose between 4 postprocessing presets. Any customizations you make can also be saved as a new preset.
Yes, I used that software to update to the latest firmware.
That camera's software is more a recording software, it is not a where you enable or disable features of the camera.