Update resolution of test video recording

This commit is contained in:
shekhar-cis 2022-09-12 12:27:50 +05:30
parent 328d900198
commit b8cebf0392
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
xvfb-run python3 tests-kivy.py
xvfb-run --server-args="-screen 0, 720x1280x24" python3 tests-kivy.py

View File

@ -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",