Open joaoantoniocardoso opened 4 months ago
First step towards #378
sudo apt-get install -y v4l2loopback-dkms
sudo pacman -S v4l2loopback-dkms v4l2loopback-utils
sudo modprobe v4l2loopback video_nr=42 && \ sudo v4l2loopback-ctl delete /dev/video42 && \ sudo v4l2loopback-ctl add --exclusive-caps 0 --max-openers 2 --name potato --verbose /dev/video42
wget -q https://github.com/patrickelectric/qrtimestamp-gst/releases/download/0.1.0/libgstqrtimestamp-x86_64.so.tar -O - | tar -x export GST_PLUGIN_PATH="$PWD:$GST_PLUGIN_PATH"
cargo test --release --locked --test v4l2_latency_and_jitter
sudo modprobe -r v4l2loopback
First step towards #378
How to test locally
1. Install v4l2loopback:
sudo apt-get install -y v4l2loopback-dkms
sudo pacman -S v4l2loopback-dkms v4l2loopback-utils
2. Add a v4l2loopback device:
3. Get qrtimestamp plugins:
4. Run the test
5. Clean up