diff options
author | MaZderMind <git@mazdermind.de> | 2016-08-05 16:32:49 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-08-05 16:32:49 +0200 |
commit | 463ab55b178935d72442b71748786c22f1f0e027 (patch) | |
tree | b5bb905495e6131bd64f2b4aa625f438169eeaa7 /example-scripts/ffmpeg/source-testvideo-as-cam2.sh | |
parent | 59f0abcf365e7c80bb51912d95ccc6d262d759c8 (diff) |
allows overriding the default-config of the example-scripts
Diffstat (limited to 'example-scripts/ffmpeg/source-testvideo-as-cam2.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-testvideo-as-cam2.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/source-testvideo-as-cam2.sh b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh index 674f6c7..dec6a9f 100755 --- a/example-scripts/ffmpeg/source-testvideo-as-cam2.sh +++ b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh @@ -1,5 +1,10 @@ #!/bin/sh -. `dirname "$0"`/../config.sh +confdir="`dirname "$0"`/../" +. $confdir/default-config.sh +if [ -f $confdir/config.sh ]; then + . $confdir/config.sh +fi + ffmpeg -y -nostdin \ -i "http://ftp.uni-erlangen.de/cdn.media.ccc.de/broadcast/sendezentrum/h264-hd/31c3-sendezentrum-1003-de-Freak_Show_FS147_That_Escalatored_Quickly_hd.mp4" \ -ac 2 \ |