well i tryed this to check if i can get 640x480 at 90 fps, so today i make an update to get those new modes from the camera and now i can not get it to work again so i can not really tell you. One thing that i can tell its that seems to get a better image quality using v4l2 driver
the bgr instead rgb was a issue on the driver that as i read was corrected in the new version
As I’m new in all this Rpi stuff, for now I’m playing with jvcleave’s camera wrapper for openframeworks and shaders, but it would be very interesting to try V4L2 driver in OF. Maby you have example project, because I have no idea how to use V4L2 driver in OF? I just can imagine, that you use V4L2 driver by writing “V4L2scr device=/dev/… etc.” and then use native videoGrabber’s functions to grab frames.
and use the videograbber example, (set the grabber resolution to 512x256)
if you got the newest firmware it will not work, as i read on the rpi forum seems to be a bug/incompatibility in gstreamer when using the latest firmware.
The same Chris’s API with mmal -> textures pointer(not exactly this) ,because for now CPU copies all the frame to texture and this takes chunk of time.
jvcleave’s camera wrapper based on OMX - testing this now.
Thanks for info. Btw, how are the results of testing this V4L2 driver with 640x480 in 90fps? I thought, that Rpi camera limited to 60fps, so I’m very curiuos about this experiment.
Those new modes are great, one question if are available using raspivid, they will work also on ofxRPiCameraVideoGrabber? i just see that you have a record mode in the develop branch, i have to try that thats nice
I would assume so - MMAL (what raspivid uses) and OpenMax are pretty much just different ways of working with the Videocore components. MMAL however doesn’t have anything I could find like OpenMax’s egl_render component that allows for textures
i have just tried using the latest rip firmware and your ofxRpiCameraVideoGrabber develop blanch and I’m able to record at 640x480 90fps…. that great !!!
Thaths sounds fantastic So, you just updated rpi firmware with “apt-get update” and “apt-get upgrade” and used the same ofxRpiCameraVideoGrabber plugin? So last updates changed something in OMX part?
and now you can get those new modes, the changes to make the modes avaliables seems to be in the sensor internals as jvcleave says so they work in omx as meal without changes.
note that if you do this rpi-update you can not use the v4l driver because its something break on the streamer part with the new update