added script for terminal 1 (fixes #1)
This commit is contained in:
parent
a34dcf7fc7
commit
4310046f9e
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash #terminal1 sleep 20
|
||||
|
||||
#Audio von cam1
|
||||
gst-launch-1.0 -v udpsrc port=5003 caps="application/x-rtp" ! rtpjitterbuffer latency=20 do-lost=True ! rtpopusdepay ! opusdec plc=true ! alsasink device=hw:1 &
|
||||
|
||||
#Audio zu cam1
|
||||
gst-launch-1.0 -vv alsasrc device=plughw:1,0 ! audioconvert ! audioresample ! opusenc ! rtpopuspay ! udpsink host=cam1 port=5002 &
|
||||
|
||||
#start video output
|
||||
while true; do
|
||||
omxplayer --fps 60 --live --threshold 0.1 tcp://@cam1:5001 -s -r
|
||||
sleep 1
|
||||
done
|
Loading…
Reference in New Issue