Update resolution of test video recording
This commit is contained in:
parent
328d900198
commit
b8cebf0392
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
xvfb-run python3 tests-kivy.py
|
xvfb-run --server-args="-screen 0, 720x1280x24" python3 tests-kivy.py
|
||||||
|
|
|
@ -27,7 +27,7 @@ if __name__ == "__main__":
|
||||||
pass
|
pass
|
||||||
|
|
||||||
ffmpeg = subprocess.Popen([ # pylint: disable=consider-using-with
|
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",
|
"-v", "quiet", "-nostats",
|
||||||
"-draw_mouse", "0", "-i", os.environ['DISPLAY'],
|
"-draw_mouse", "0", "-i", os.environ['DISPLAY'],
|
||||||
"-codec:v", "libvpx-vp9", "-lossless", "1", "-r", "60",
|
"-codec:v", "libvpx-vp9", "-lossless", "1", "-r", "60",
|
||||||
|
|
Reference in New Issue
Block a user