summaryrefslogtreecommitdiff
path: root/example-scripts/misc
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2016-01-06 11:20:17 +0100
committerMaZderMind <github@mazdermind.de>2016-01-06 11:20:17 +0100
commit38e1c2c0ed63db4053f198aac2c827141cf4fab8 (patch)
treed96f357bd39ccf0c0262dc512f0a0d74a8909533 /example-scripts/misc
parent4618c375305bae572cfc198c60e677278792e895 (diff)
don't rely on ffmpeg and external files for perf & benchmark
Diffstat (limited to 'example-scripts/misc')
-rwxr-xr-xexample-scripts/misc/benchmark.sh6
-rwxr-xr-xexample-scripts/misc/perf.sh6
2 files changed, 8 insertions, 4 deletions
diff --git a/example-scripts/misc/benchmark.sh b/example-scripts/misc/benchmark.sh
index 70b8cfa..c60f897 100755
--- a/example-scripts/misc/benchmark.sh
+++ b/example-scripts/misc/benchmark.sh
@@ -5,8 +5,10 @@ PID=$!
echo "PID=$PID"
sleep 1
../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null
-../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null &
-../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-cam1.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-cam2.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-grabber.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-background-loop.sh >/dev/null 2>/dev/null &
pidstat -p $PID 1 &
sleep 10
kill $PID
diff --git a/example-scripts/misc/perf.sh b/example-scripts/misc/perf.sh
index e347151..c20f10b 100755
--- a/example-scripts/misc/perf.sh
+++ b/example-scripts/misc/perf.sh
@@ -5,8 +5,10 @@ PID=$!
echo "PID=$PID"
sleep 1
../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null
-../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null &
-../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-cam1.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-cam2.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-grabber.sh >/dev/null 2>/dev/null &
+../gstreamer/source-videotestsrc-as-background-loop.sh >/dev/null 2>/dev/null &
sudo perf top -g -p $PID
kill $PID
wait