summaryrefslogtreecommitdiffstats
path: root/cucumber
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-08 23:24:57 +0200
committerPhilip Hands <phil@hands.com>2016-06-10 11:22:01 +0200
commit67ebfb43d4c95a915b1bdc24d6dd4429dfa1e380 (patch)
treec32e5127856711f3291194e865e085cdd1941a6c /cucumber
parent9e0ceb21fb7643f74a3b8ee35cd3dcfc4efa7120 (diff)
downloadjenkins.debian.net-67ebfb43d4c95a915b1bdc24d6dd4429dfa1e380.tar.xz
lvc: let's try 5 fps with avconv for lightening load
Diffstat (limited to 'cucumber')
-rwxr-xr-xcucumber/bin/run_test_suite2
-rw-r--r--cucumber/features/support/hooks.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/cucumber/bin/run_test_suite b/cucumber/bin/run_test_suite
index 7d175f35..19128445 100755
--- a/cucumber/bin/run_test_suite
+++ b/cucumber/bin/run_test_suite
@@ -166,7 +166,7 @@ start_vnc_viewer() {
capture_session() {
check_dependencies libvpx1
echo "Capturing guest display into ${CAPTURE_FILE}"
- avconv -f x11grab -s 1024x768 -r 15 -i ${TARGET_DISPLAY}.0 -an \
+ avconv -f x11grab -s 1024x768 -r 5 -i ${TARGET_DISPLAY}.0 -an \
-vcodec libvpx -y "${CAPTURE_FILE}" >/dev/null 2>&1 &
}
diff --git a/cucumber/features/support/hooks.rb b/cucumber/features/support/hooks.rb
index b3bdecef..684861f6 100644
--- a/cucumber/features/support/hooks.rb
+++ b/cucumber/features/support/hooks.rb
@@ -182,7 +182,7 @@ Before('@product') do |scenario|
capture = IO.popen(['avconv',
'-f', 'x11grab',
'-s', '1024x768',
- '-r', '15',
+ '-r', '5',
'-i', "#{$config['DISPLAY']}.0",
'-an',
'-c:v', 'libx264',