Hi,
My current project is on the Robotics RB5 platform, which uses multiple cameras for object detection. I have tested that the Main camera, Tracking camera and GMSL camera can be opened separately, but how do I open them at the same time? , I have used gst_gui app to open it under different terminals, but it still fails. Is there any way to open multiple cameras at the same time?
thans.
boyu
Let me check if there is such sample app.
When I get result, I will let you know
Thanks
Hi boyu,
I got response from camera engineers, here is comments from them:
RB5 only has two IFEs, usually only two cameras can be opened at the same time.
But RB5 also has additional ife_lite, they can get the raw data of other cameras.
Thanks.
Dear kevin.dai,
Thanks for your reply, but how can i use additional ife_lite, when i open two camera at the same time?
Can you have sample code to use additional ife_lite?
thanks.
Boyu
Let me check if we have sample code for addination IFE.
I will give you update soon.
Hi Customer,
When you open the third camera, if the app only requests raw data, the camera will work on ife lite.
Hope this helps!
I've been able to open multiple cameras at the same time with a command like the one below It will open the IMX577 (main camera) and the OV9282 (tracking camera), and compose their frames next to each-other in an output video. Currently the performance is quite bad. I'm not 100% sure on the bottleneck yet. Also, the frames are out of sync.
Another (possibly more performant) option would be to spit the frames out as JPG files instead of trying to use the `omxh256enc` (which seems to have some problem.)
Another option would be to each camera to a different output file, and seam them together at a later time. The command below is more like the one in the RB5 documentation for video decoding.