Access to higher resolutions in 48MP USB camera

8 visualizaciones (últimos 30 días)
Christopher
Christopher el 6 de Ag. de 2025
Comentada: dpb el 20 de Ag. de 2025
I am using a Macbook Apple M2 (Sequoia 15.6) and thus using the 'macvideo' Adaptor ... the problem is that although this is a 48MP camera - so a max resolution of 8000x6000 at low FPS, the highest res returned is 3840x2160 (see below). I guess this is because this is a "generic" adaptor?? Is there any way in which I can tap into all of the possible resolutions of this camera using matlab? (I note that the manufacturer says the high res are availabile via a different codec - MJPEG vs YUY2 (8000x6000 @ 5fps MJPEG / 4000x3000 @ 12fps MJPEG
3840x2160 @ 30fps MJPEG) could this be the main issue?
Any pointers greatly appreciated ...
Thanks
>> imaqhwinfo('macvideo',1)
ans =
struct with fields:
DefaultFormat: 'YCbCr422_1920x1080'
DeviceFileSupported: 0
DeviceName: '48MP USB Camera'
DeviceID: 1
VideoInputConstructor: 'videoinput('macvideo', 1)'
VideoDeviceConstructor: 'imaq.VideoDevice('macvideo', 1)'
SupportedFormats: {'YCbCr422_1280x720' 'YCbCr422_1920x1080' 'YCbCr422_192x144' 'YCbCr422_320x240' 'YCbCr422_352x288' 'YCbCr422_3840x2160' 'YCbCr422_480x360' 'YCbCr422_960x540'}
>>
  3 comentarios
Christopher
Christopher el 7 de Ag. de 2025
True. They don't say its not Mac compatible though, even stating "Compatible with multi software & operating system: Support Windows, Linux, Android, Mac OS, Ubuntu, Raspberry Pi..." ... However, I agree that from the company side there is not much one can hope for ...
On the other hand, is there any way that I can access these modes of teh camera in Mac, perhaps by delving into DLLs etc. (not really my thing)? I really need to get this thing up and running across both Mac and Windows platforms.
dpb
dpb el 7 de Ag. de 2025
Editada: dpb el 7 de Ag. de 2025
Not unless you can talk to the camera over the USB port with some command set to control it and return data from it.
Where did the "macvideo" adapter come from; is it from Mathworks with the (I guess) Vision Toolbox which I don't have so know nuthink! about it)? If you could get that source, then it might be feasible to add another resolution mode; I wouldn't say it would be easy. You'd also have to have the vendor SDK documentation to have any klew about what its internal commands are.

Iniciar sesión para comentar.

Respuestas (2)

Christopher
Christopher el 19 de Ag. de 2025
I am told by Matlab support that Matlab does not support MJPEG format on Mac OS and so it would appear that this is why I cannot see the higher resolutions of this camera on my Mac based Matlab system. I have yet to check on a Windows system as I don't have one freely available a this point - but will double check.
Thanks for all answers so far.
  3 comentarios
Christopher
Christopher el 20 de Ag. de 2025
No, no idea if it will be made available or any workarounds.
Looks like I need to find another camera if I with to work on the Mac.
dpb
dpb el 20 de Ag. de 2025
Any chance there's a users group for the vendor's cameras that might be of help?
Otherwise, it would appear your choices are indeed very limited with MATLAB and Mac; I notice the vendor recommends some Mac app with the camera, but that would then entail either figuring out some way to "drive" that app programmatically or a pass-thru scenario that undoubtedly is not useful.
Seems a big hole in Mathworks support for Mac...

Iniciar sesión para comentar.


dpb
dpb el 7 de Ag. de 2025
It says it is UVC compliant and <MATLAB Support Packages> says it will/can support USB webcams.
I'd say that's your chance...
  6 comentarios
Christopher
Christopher el 12 de Ag. de 2025
Editada: Christopher el 12 de Ag. de 2025
I have tried to set the resolution of the camera with the dot notation and I get an error saying only resolution a X b is supported - so no go I am afraid.
Its frustrating as this is a very good camera for my needs - small, lightweight and quite powerful (plus affordable) but I really need the higher resolutions if its going to be of any use to me.
Thanks for persevering.
dpb
dpb el 12 de Ag. de 2025
OK, thanks for the clarification; just checking to be sure you had recognized that are supposed to be able to control the camera that way. Any chance you have an earlier MATLAB release still installed to see if this also has something to do with the new release?
Submit this to Mathworks as an official support request/bug at <Product Support Page>, unless the implementation of the interface by the vendor is non-compliant with the Standard, this surely seems to be an issue.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.

Productos


Versión

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by