From 67ebfb43d4c95a915b1bdc24d6dd4429dfa1e380 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 8 Jun 2016 23:24:57 +0200 Subject: lvc: let's try 5 fps with avconv for lightening load --- cucumber/bin/run_test_suite | 2 +- cucumber/features/support/hooks.rb | 2 +- 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', -- cgit v1.2.3-70-g09d2