diff options
Diffstat (limited to 'voctocore/scripts/av-record-cam1-mirror.sh')
-rwxr-xr-x | voctocore/scripts/av-record-cam1-mirror.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/voctocore/scripts/av-record-cam1-mirror.sh b/voctocore/scripts/av-record-cam1-mirror.sh index 0a33a97..2e7899d 100755 --- a/voctocore/scripts/av-record-cam1-mirror.sh +++ b/voctocore/scripts/av-record-cam1-mirror.sh @@ -1,17 +1,18 @@ #!/bin/sh gst-launch-1.0 \ tcpclientsrc host=localhost port=13000 !\ - gdpdepay !\ + matroskademux name=demux \ + \ + demux. !\ queue !\ timeoverlay !\ - videoconvert !\ avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\ queue !\ mux. \ \ - tcpclientsrc host=localhost port=23000 !\ - gdpdepay !\ + demux. !\ queue !\ + audioconvert !\ avenc_mp2 bitrate=192000 !\ queue !\ mux. \ |