Crates.io | mavlink-camera-manager |
lib.rs | mavlink-camera-manager |
version | 0.2.4 |
source | src |
created_at | 2020-04-10 16:36:58.056921 |
updated_at | 2020-05-21 20:35:45.34805 |
description | Mavlink Camera Manager |
homepage | https://github.com/patrickelectric/mavlink-camera-manager |
repository | https://github.com/patrickelectric/mavlink-camera-manager |
max_upload_size | |
id | 228390 |
size | 85,578 |
The Mavlink Camera Manager is an extensible cross-platform camera server.
It provides a RTSP service for sharing video stream and a MAVLink camera protocol compatible API to configure ground control stations (E.g: QGroundControl).
You can get the video via VLC or any other media player that can receive video via rtsp
mavlink-camera-manager
via cargo run
or calling the binary directly.The video should automatically popup if you are using any modern GCS, like QGroundControl, that has support for MAVLink camera messages.
mavlink-camera-manager
via cargo run
or calling the binary directly.mavproxy
or sim_vehicle
with --out=udpbcast:0.0.0.0:14550
You can use your own pipeline via --pipeline-rtsp
parameter, some examples:
'videotestsrc ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay name=pay0'
'rtspsrc location="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" latency=100 ! rtph264depay ! rtph264pay name=pay0'
'v4l2src device=/dev/video0 ! video/x-h264,width=1920,height=1080,type=video ! rtph264pay name=pay0'
Note that some GCS only supports video encoded with H264
Remember to install:
If the compilation is failing to find one of this packages, make sure that they are visible for pkg-config
, may be necessary to set PKG_CONFIG_PATH environment variable.
Example:
PKG_CONFIG_PATH=/usr/local/Cellar/gst-plugins-base/1.16.2/lib/pkgconfig/
After having installed all dependencies, you'll be able to build via cargo after cloning.
cargo build
If cargo
is not available, install and configure rustup.