summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-play-cam1-mirror.sh
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-13 19:35:20 +0200
committerMaZderMind <github@mazdermind.de>2015-05-13 19:35:20 +0200
commit943ab31a0f32b7bb50fa1ff90c9ce8d72b232cfd (patch)
tree601c1b7b4261b544d413bb29e191286dc2688371 /voctocore/scripts/av-play-cam1-mirror.sh
parent4ea86d040d7ee247af247e8388eedf975aaf1f54 (diff)
experiment with transporting uncompressed a/v together in a matroska stream
Diffstat (limited to 'voctocore/scripts/av-play-cam1-mirror.sh')
-rwxr-xr-xvoctocore/scripts/av-play-cam1-mirror.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/voctocore/scripts/av-play-cam1-mirror.sh b/voctocore/scripts/av-play-cam1-mirror.sh
index 9149cd7..0e0e1e9 100755
--- a/voctocore/scripts/av-play-cam1-mirror.sh
+++ b/voctocore/scripts/av-play-cam1-mirror.sh
@@ -1,9 +1,12 @@
#!/bin/sh
gst-launch-1.0 \
tcpclientsrc host=localhost port=13000 !\
- gdpdepay !\
- xvimagesink \
+ matroskademux name=demux \
\
- tcpclientsrc host=localhost port=23000 !\
- gdpdepay !\
- alsasink sync=false
+ demux. !\
+ queue !\
+ xvimagesink ts-offset=1000000000 \
+ \
+ demux. !\
+ queue !\
+ alsasink provide-clock=false ts-offset=1000000000