Camera server: Preview stream stops when Large video activated
-
We at Cleo recently started using the hires large encoded stream.
We realized that when we started a client for the large pipe, the preview stream results would stop coming through. I confirmed this by adding the following prints
When I just run the camera server and then
voxl-inspect-cam hires_roi
I get preview frames, but then when I add avoxl-inspect-cam hires_large_encoded
I only get large video and no preview.I confirmed that the requests for the preview stream buffers are still being issued.
We at Cleo need the preview stream at the same time as we need the large stream because we need to stream the ROI to the ground station while simulateously saving the large encoded video to disk.
Any advice here? Is this a limitation of the ISP and what sort of streams it can provide in unison? Any other way to achieve our requirement of having ROI functionality at the same time as large encoded functionality?
Thank you,
Rowan and the Cleo team -
@Rowan-Dempster can you please point me to the version of camera server that you are using? Or the base version which you branched off from? Thanks!
Alex
-
@Alex-Kushleyev Hi Alex, based on the change log we have up to 1.9.2:
Here's a snippet1.9.2 * fix -C22 for D0013 1.9.1 * liow2 tof * new royale support 1.9.0 * targeted for SDK 1.2.x * swap to tof2_data_t type for tof publication to MPA * support for new voxl-fsync kernel module for synced cameras * temperarily add ar0144_slave drivers * new build dependency on voxl-cross:V2.7 * (qrb5165) requires new system image with royale-5-8-spectre-6-10 1.8.10 * fix cpu monitor not starting libmodalpipe helper (tof decimator feature) 1.8.9 * allow duplicate cam id's in config file as long as they are disabled * parse independent exposure setting if stereo cam has secondary id=0 * start the gps client later, after all normal setup steps 1.8.8 * add feature to attempt skipping potentially unplugged cameras during startup * fix bug that might retrieve gain limits incorrectly where camId doesn't match the camera index in config file (rare) * now exit with an error if no cameras could be started instead of spinning forever. * add temporary fixed ar0144 driver * change cam config 20 for D0011 Starling PX4 edition * add cci-direct tweaks to set ov7251 blc to every frame. fixes flicker 1.8.7 * fix bug where color images debayered to RGB still said NV12 in the pipe info json * add support for rotating AR0144 image 1.8.6 * put old exposure settings back for now until we do testing * more ar0144 support * add exposure and gain upper and lower limits to config file 1.8.5 * add cam config 22 for D0013 * fix sentinel front stereo flip on old system image * fix jpeg snapshots being cut short by 1 byte 1.8.4 * voxl-configure-cameras better handling of new custom config file when fresh/missing * dynamically set libmodal_exposure gain limits based on hal3 reported numbers in prep for system image 1.7.x gain scaling change * set C18 config name * favor faster exposure times for vio cameras 1.8.3 * config file now has simple boolean for raw data preview true/false * remove old pre_format field from config file * fix regression in debayer processing * white balance for m0113 ov9782 without IR filter * add single mode option for combo sensors * allow both "snapshot-no-save" and "snapshot_no_save" commands```
-
@Alex-Kushleyev Also if it's helpful here's all the source code we are using for the camera server https://drive.google.com/file/d/1ZjcIAvNpQpGPDnzcirZ4OE0acJhEDwZH/view?usp=sharing