remove indicatif, add dotenv, write to stdout, gst to v4lsink, usable with ffplay, still some hiccups, not cpu related
This commit is contained in:
13
run_live.sh
13
run_live.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user