From 943ab31a0f32b7bb50fa1ff90c9ce8d72b232cfd Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 13 May 2015 19:35:20 +0200 Subject: experiment with transporting uncompressed a/v together in a matroska stream --- voctocore/scripts/av-source-avsync.sh | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'voctocore/scripts/av-source-avsync.sh') diff --git a/voctocore/scripts/av-source-avsync.sh b/voctocore/scripts/av-source-avsync.sh index 756d83b..0276202 100755 --- a/voctocore/scripts/av-source-avsync.sh +++ b/voctocore/scripts/av-source-avsync.sh @@ -5,19 +5,20 @@ gst-launch-1.0 -vm \ name=src \ \ src. !\ - queue !\ - videoconvert !\ - videoscale !\ - video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \ - timeoverlay valignment=bottom ! \ - gdppay ! \ - tcpclientsink host=localhost port=10000 \ + queue !\ + videoconvert !\ + videoscale !\ + video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \ + timeoverlay valignment=bottom ! \ + mux. \ \ src. !\ - queue !\ - audioconvert !\ - audioresample !\ - audiorate !\ - audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ - gdppay !\ - tcpclientsink host=localhost port=20000 + queue !\ + audioconvert !\ + audioresample !\ + audiorate !\ + audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ + mux. \ + \ + matroskamux name=mux !\ + tcpclientsrc host=localhost port=10000 -- cgit v1.2.3