@zauberflote1 Thanks, I appreciate it!
voxl-streamer.conf
/**
* This file contains configuration parameters for voxl-streamer.
*
* input-pipe:
* This is the MPA pipe to subscribe to. Ideally this is a pipe
* with an H264 stream such as the default: hires-stream
* However, you can point voxl-streamer to a RAW8 uncompressed stream such as
* tracking or qvio_overlay. In this case voxl-streamer will encode the stream
* at the bitrate provided in the birtate field.
* if input-pipe is already H264 then the bitrate config here is ignored and you
* should set the bitrate in voxl-camera-server.conf!!!!!
*
* bitrate:
* Bitrate to compress raw MPA streams to.
* Ignored for H264 streams like hires_stream
*
* decimator:
* Decimate frames to drop framerate of RAW streams.
* Ignored for H264 streams like hires_stream
*
* port:
* port to serve rtsp stream on, default is 8900
*
*/
{
"conf-version": "1.4",
"configuration": "hires",
"uvc-generic": {
"input": {
"interface": "mpa",
"mpa-camera": "uvc"
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 480,
"decimator": 1,
"bitrate": 1000000
}
}
},
"uvc-flir-boson": {
"input": {
"interface": "mpa",
"mpa-camera": "uvc"
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 512,
"decimator": 2,
"bitrate": 1000000
}
}
},
"uvc-flir-lepton": {
"input": {
"interface": "mpa",
"mpa-camera": "uvc"
},
"output": {
"stream": {
"rotation": 0,
"width": 160,
"height": 120,
"bitrate": 500000
}
}
},
"hires": {
"input": {
"interface": "mpa",
"mpa-camera": "hires"
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 480,
"decimator": 2,
"bitrate": 1000000
}
}
},
"hires-logo": {
"input": {
"interface": "mpa",
"mpa-camera": "hires"
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 480,
"decimator": 2,
"bitrate": 1000000
}
},
"overlay": {
"location": "/etc/modalai/modalai.png",
"offset_x": -1,
"offset_y": -1
}
},
"stereo": {
"input": {
"interface": "mpa",
"mpa-camera": "stereo"
},
"output": {
"stream": {
"width": 640,
"height": 960,
"decimator": 2,
"bitrate": 1000000
}
}
},
"stereo-color": {
"input": {
"interface": "mpa",
"mpa-camera": "stereo_front"
},
"output": {
"stream": {
"width": 1280,
"height": 800,
"decimator": 2,
"bitrate": 1000000
}
}
},
"tracking": {
"input": {
"interface": "mpa",
"mpa-camera": "tracking"
},
"output": {
"stream": {
"width": 640,
"height": 480,
"decimator": 2,
"bitrate": 1000000
}
}
},
"dfs-disparity": {
"input": {
"interface": "mpa",
"mpa-camera": "dfs_disparity"
},
"output": {
"stream": {
"width": 640,
"height": 480,
"decimator": 2,
"bitrate": 1000000
}
}
},
"qvio-overlay": {
"input": {
"interface": "mpa",
"mpa-camera": "qvio_overlay"
},
"output": {
"stream": {
"width": 640,
"height": 544,
"decimator": 2,
"bitrate": 1000000
}
}
},
"tflite-overlay": {
"input": {
"interface": "mpa",
"mpa-camera": "tflite"
},
"output": {
"stream": {
"width": 640,
"height": 480,
"decimator": 2,
"bitrate": 1000000
}
}
},
"hdmi-mpa": {
"input": {
"interface": "mpa",
"mpa-camera": "v4l2"
},
"output": {
"stream": {
"width": 640,
"height": 360,
"decimator": 2,
"bitrate": 1000000
}
}
},
"gphoto2-mpa": {
"input": {
"interface": "mpa",
"mpa-camera": "gphoto2"
},
"output": {
"stream": {
"width": 640,
"height": 360,
"decimator": 2,
"bitrate": 1000000
}
}
},
"video-test": {
"input": {
"interface": "test",
"frame": {
"width": 640,
"height": 480,
"format": "yuv420"
}
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 480,
"rate": 30,
"bitrate": 1000000
}
}
},
"uvc-video": {
"input": {
"interface": "uvc",
"device": "/dev/video0"
},
"output": {
"stream": {
"rotation": 0,
"width": 640,
"height": 360,
"rate": 15,
"bitrate": 1000000
}
}
},
"input-pipe": "hires_small_encoded",
"bitrate": 1000000,
"rotation": 0,
"decimator": 1,
"port": 8900
}
voxl-camera-server.conf
/**
* voxl-camera-server Configuration File
*
* Each camera has configurations for up to 4 HAL3 streams:
* - `preview` stream for raw unprocessed images from CV cameras
* - `small_video` 720p (ish) h264/h265 compressed for fpv video streaming
* - `large_video` 4k (ish) h264/h265 for onboard video recording to disk
* - `snapshot` ISP-processed JPG snapshots that get saved to disk
*
* on QRB5165 platforms (VOXL2 and VOXL2 mini) you can only have 3 of the 4 enabled
*
* This file is generated from default values by voxl-configure-cameras.
* Do not expect arbitrary resolutions to work, the ISP and video compression
* pipelines only support very specific resolutions.
*
* The default video compression mode is cqp or Constant Quantization Parameter
*
*
*
*/
{
"version": 0.1,
"fsync_en": false,
"fsync_gpio": 109,
"cameras": [{
"type": "imx412",
"name": "hires",
"enabled": true,
"camera_id": 0,
"fps": 30,
"en_preview": false,
"preview_width": 640,
"preview_height": 480,
"en_raw_preview": false,
"en_small_video": true,
"small_video_width": 1024,
"small_video_height": 768,
"small_venc_mode": "h265",
"small_venc_br_ctrl": "cqp",
"small_venc_Qfixed": 30,
"small_venc_Qmin": 15,
"small_venc_Qmax": 40,
"small_venc_nPframes": 9,
"small_venc_mbps": 2,
"en_large_video": true,
"large_video_width": 4056,
"large_video_height": 3040,
"large_venc_mode": "h265",
"large_venc_br_ctrl": "cqp",
"large_venc_Qfixed": 38,
"large_venc_Qmin": 15,
"large_venc_Qmax": 50,
"large_venc_nPframes": 29,
"large_venc_mbps": 30,
"en_snapshot": true,
"en_snapshot_width": 4056,
"en_snapshot_height": 3040,
"exif_focal_length": 3.0999999046325684,
"exif_focal_length_in_35mm_format": 17,
"exif_fnumber": 1.2400000095367432,
"ae_mode": "isp"
}]
}