![]() |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
frame.jpg | ||
readme.md |
readme.md
Rust 调用 V4L2 与 Ftlk 播放摄像头画面
从零开始安装一个项目需要多费劲
# 无法确定具体需要的包体
apt install libfltk1.3-dev
apt install build-essential libfltk1.1 libfltk1.1-dev
apt install pkg-config libxft-dev
apt install libxext-dev libxinerama-dev libxcursor-dev libxfixes-dev libpango1.0-dev libglib2.0-dev libcairo2-dev libv4l-dev v4l2loopback-utils
调用方法
./rust_v4l2 <video_device> <width> <height> <interval>