diff options
author | MaZderMind <git@mazdermind.de> | 2016-01-29 17:59:34 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-01-29 17:59:34 +0100 |
commit | 4ddbb55eac513c1863a453a8d21cd6c8dc167661 (patch) | |
tree | 29e31ec4e17f3929342deffbbd611494934d19d8 /example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh | |
parent | b3d585c78a3c8245232ddbd28a88f4130f8ca5a5 (diff) |
add a global resolution-config for all example-scripts
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh')
-rwxr-xr-x | example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh index a96786a..ea550ef 100755 --- a/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh +++ b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh @@ -1,7 +1,8 @@ #!/bin/sh +. `dirname "$0"`/../config.sh gst-launch-1.0 \ videotestsrc pattern=smpte !\ - video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 !\ + video/x-raw,format=I420,width=$WIDTH,height=$HEIGHT,framerate=$FRAMERATE/1,pixel-aspect-ratio=1/1 ! \ mux. \ \ matroskamux name=mux !\ |