Minor cleanup
This commit is contained in:
@ -95,18 +95,17 @@ set -e # stop if an error occurs
|
||||
# shellcheck disable=SC2089
|
||||
restream_rs="PATH=\"\$PATH:/opt/bin/:.\" restream"
|
||||
listen_port=16789
|
||||
ssh_cmd "$restream_rs --listen $listen_port" &
|
||||
ssh_cmd "$restream_rs --port $listen_port --format mono" &
|
||||
sleep 1 # give some time to restream.rs to start listening
|
||||
receive_cmd="nc $remarkable $listen_port"
|
||||
|
||||
# TODO: return this from stdout
|
||||
width=1872
|
||||
height=1404
|
||||
pixel_format="gray8"
|
||||
pixel_format="monob"
|
||||
|
||||
# shellcheck disable=SC2086,SC2090
|
||||
$receive_cmd |
|
||||
pv |
|
||||
(
|
||||
"$output_cmd" \
|
||||
-vcodec rawvideo \
|
||||
|
Reference in New Issue
Block a user