remove indicatif, add dotenv, write to stdout, gst to v4lsink, usable with ffplay, still some hiccups, not cpu related

This commit is contained in:
devdesk
2024-02-17 15:43:20 +02:00
parent 5acd03828d
commit 49f9aa98ed
5 changed files with 49 additions and 9 deletions

View File

@@ -1,3 +1,14 @@
#!/bin/bash
cd $(dirname $0)
sudo ./venv/bin/python ./decode.py --live
set -e
# Python works but stutters
#sudo ./venv/bin/python ./decode.py --live
cargo build --release --example live
sudo ./target/release/examples/live /dev/stdout | gst-launch-1.0 filesrc location=/dev/stdin \
! rawvideoparse use_sink_caps=false height=384 width=288 format=gray16-le \
! videoconvertscale \
! v4l2sink device=/dev/video0
# ! videoconvertscale