# Broken Package? Unable to configure cameras and hires video record.

Source: https://forum.modalai.com/topic/2219/broken-package-unable-to-configure-cameras-and-hires-video-record
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-06-02 03:48:02 UTC by Jyotish Kumar
Replies: 5 · Views: 1429

## Jyotish Kumar · 2023-06-02 03:48:02 UTC

With the aim to use ```voxl-record-video``` (which is not available in stable branch), I switched the pkg manager to dev. Now when I try to configure cameras using ```voxl-configure-cameras 6``` (HiRes + tracking + ToF), the following error appears:

```
voxl2:/$ voxl-configure-cameras 6
Camera Configuration: 6
[ERROR] Your system image is too old to support the new camera driver structure
[ERROR] Plese update to a system image newer than May 14 2023
```
I have reflashed the Voxl2 and configured the cameras prior to switching to the dev repository. With that, when I try to record a video, It receives nothing on the hires_record pipeline. 
```
voxl2:/$ voxl-record-video hires_record -o cameratest.h264
waiting for server at /run/mpa/hires_record/
```
It’ll be great if someone could help me with this issue. 

Thanks in advance for the help.

## Reply by Chad Sweet (ModalAI staff) · 2023-06-02 03:50:33 UTC

You can use ```voxl-list-pipes``` to debug your issue

## Reply by Jyotish Kumar · 2023-06-02 04:39:46 UTC

@Chad-Sweet said in [Broken Package? Unable to configure cameras and hires video record\.](/post/10340):
> voxl-list-pipe
Hi, Thank you for your response. 
The following is the output of the ```voxl-list-pipes```
```
voxl2:/$ voxl-list-pipes  
hires
tof
tof_conf
tof_depth
tof_ir
tof_pc
tracking
```

out of these, when I try to inspect the hires pipeline using ```voxl-inspect-cam hires```, I get a constant flow of frame details as one would normally expect. 
![a5fbb0ef-71c5-4094-983d-0caa18b45c28-image.png](https://forum.modalai.com/assets/uploads/files/1685680592858-a5fbb0ef-71c5-4094-983d-0caa18b45c28-image.png) 

I am not sure how to inspect the hires_record pipeline. The full command for hires video recording as given on the ModalAI technical docs is ```voxl-record-video hires_record -o /PATH/NAME.h264``` Which expects a stream to the /run/mpa/hires_record/

Your help will be much appreciated. Kindly let me know if I am doing something wrong.

## Reply by Chad Sweet (ModalAI staff) · 2023-06-02 05:03:36 UTC

you are using the dev branch, so the docs are not going to match what you are doing

if you are using the dev branch, all of the packages need to be on the dev branch. If just one is on the dev branch, and the rest stable, things will break.

## Reply by Jyotish Kumar · 2023-06-02 06:27:56 UTC

I see. Appreciate your help. Currently everything is on the dev branch. The two issues that I have originally mentioned prevail viz. 
(1) ``` voxl-configure-camera 6 ``` is giving the error that sysytem image is too old (I am currently on voxl2 image 0.9.5 which is the latest one available in the developer assets). I am able to manually configure the cameras by editing ```/etc/modalai/voxl-camera-server.conf``` file to fit my camera arrangement. 
I am able to see the stream of cameras on the ```voxl-portal```.

(2) ```voxl-record-video``` command Is still showing
```
waiting for server at /run/mpa/hires_record/
```
Am I supposed to use some other command to be able to record video?

## Reply by Viswanadh Chegu · 2023-06-15 09:03:37 UTC (in reply to Jyotish Kumar)

@Jyotish-Kumar i have faced the same issue. the record pipe name has changed in **dev** branch, try to use 
**hires_large_encoded** or **hires_small_encoded** based on your resolution requirement. Can find more config parameters in **/etc/modalai/voxl-camera-server.conf**
