diff options
author | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:02 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:57 +0100 |
commit | 39c8cb3a0e3813ef77c61c601d0028281c04ad2d (patch) | |
tree | 8e4798e9b70732f1c28f180457e962c63f1a20ec /example-scripts/gstreamer/record-mixed-av.sh | |
parent | b2b0e458a59ef8ede58b369a5d5194939021165d (diff) |
[example-scripts] overhaul and test all example scripts, fixes #5
Diffstat (limited to 'example-scripts/gstreamer/record-mixed-av.sh')
-rwxr-xr-x | example-scripts/gstreamer/record-mixed-av.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/record-mixed-av.sh b/example-scripts/gstreamer/record-mixed-av.sh new file mode 100755 index 0000000..b8818c6 --- /dev/null +++ b/example-scripts/gstreamer/record-mixed-av.sh @@ -0,0 +1,21 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=11000 !\ + matroskademux name=demux \ + \ + demux. !\ + queue !\ + videoconvert !\ + avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\ + queue !\ + mux. \ + \ + demux. !\ + queue !\ + audioconvert !\ + avenc_mp2 bitrate=192000 !\ + queue !\ + mux. \ + \ + mpegtsmux name=mux !\ + filesink location=foo.ts |