Closed trcwm closed 3 years ago
@trcwm Is this still happening, or can we close this?
I'm unable to reproduce/debug this error as I don't have such a camera. The code hasn't changed, so this behaviour should still be there.
@trcwm Ah, okay. Did someone else originally report this? Do you know who? I'd like to follow up on it so we can close this.
@vonnieda Yes, @kakemoms reported it.
Sorry, my OpenPNP had a vacation.. Anyway, I can set property "CAP_PROP_FOURCC" under Camera specific now. I set it to "MJPG" and for some reason it gets changed to "0.0", but except for that it works for 2592x1944 at 15fps (which I have to enter as 1944 width and 2592 height as I have a rotated screen). Please note that if I put in 2592 width and 1944 height, I get 3fps and YUY2, but correct resolution.. PS: Entering 2448 width and 3264 height freezes OpenPNP image, while 3264 width and 2448 heigh gives correct resolution, but at a dreaded 2fps...
@kakemoms the camera library does not now you have a rotated screen and only accepts the resolutions as reported by the camera. I suspect that entering 2448 x 3264 will result in the library being unable to find the requested format and simply not creating a capture stream.
I'm not sure why you get a 2fps YUY2 stream when requesting MJPEG. That should not happen.
Ok. Well.. still, its strange that 3264 x 2448 works (as YUY2) if its not in the library.
Another thing is that the pixels per mm (or was it mm per pixel) seems to be way off. Entering it manually was the only way to get it working (and a slight change of the values result in exaggerated movement).
Since it worked before I started changing resolution, its probably related.
3264 x 2448 is reported by the library, 2448 x 3264 is not.
But 1944 x 2592 works, so its kind of inconsistent..
High resolution MPJEG on 8MP camera fails with 0x80004005 "Unspecified error":