From b8cebf03929374e67f310f93abe58a1a831c7a62 Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Mon, 12 Sep 2022 12:27:50 +0530 Subject: [PATCH] Update resolution of test video recording --- .buildbot/kivy/test.sh | 2 +- tests-kivy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildbot/kivy/test.sh b/.buildbot/kivy/test.sh index d01ca870..429db9d0 100755 --- a/.buildbot/kivy/test.sh +++ b/.buildbot/kivy/test.sh @@ -1,3 +1,3 @@ #!/bin/bash -xvfb-run python3 tests-kivy.py +xvfb-run --server-args="-screen 0, 720x1280x24" python3 tests-kivy.py diff --git a/tests-kivy.py b/tests-kivy.py index 4e963fb5..43132652 100644 --- a/tests-kivy.py +++ b/tests-kivy.py @@ -27,7 +27,7 @@ if __name__ == "__main__": pass ffmpeg = subprocess.Popen([ # pylint: disable=consider-using-with - "ffmpeg", "-y", "-nostdin", "-f", "x11grab", "-video_size", "vga", + "ffmpeg", "-y", "-nostdin", "-f", "x11grab", "-video_size", "720x1280", "-v", "quiet", "-nostats", "-draw_mouse", "0", "-i", os.environ['DISPLAY'], "-codec:v", "libvpx-vp9", "-lossless", "1", "-r", "60",