diff options
author | MaZderMind <git@mazdermind.de> | 2015-11-16 23:31:15 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-11-16 23:31:43 +0100 |
commit | d37661d72375bcea603afa0bac16703004923afe (patch) | |
tree | afab0a1f1804fcdddb539418ff0b3adf35a4e551 /example-scripts/av-record-output.sh | |
parent | 56b9bd28dcdf048e9513ed3e08c029db4f44cf47 (diff) |
move voctocore/scripts to example-scripts
Diffstat (limited to 'example-scripts/av-record-output.sh')
-rwxr-xr-x | example-scripts/av-record-output.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/example-scripts/av-record-output.sh b/example-scripts/av-record-output.sh new file mode 100755 index 0000000..ef306ed --- /dev/null +++ b/example-scripts/av-record-output.sh @@ -0,0 +1,20 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=11000 !\ + matroskademux name=demux \ + \ + demux. !\ + queue !\ + 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 |