action #174445
opencoordination #154768: [saga][epic][ux] State-of-art user experience for openQA
coordination #154771: [epic] Improved test developer user experience
Support tests using a video resolution that is not a multiple of 16
0%
Description
Observation¶
Test API functions that expect needles e.g. wait_still_screen
always fail if the screen resolution is not a multiple of 16.
For example:
[2023-06-23T17:17:28.752082+02:00] [debug] [pid:7415] <<< testapi::wait_still_screen(similarity_level=80, timeout=60, stilltime=10)
/var/lib/openqa/pool/1/video.ogv: error: could not encode frame
Encoding error.
[2023-06-23T17:17:29.264259+02:00] [info] [pid:7446] ::: backend::baseclass::die_handler: Backend process died, backend errors are reported below in the following lines:
Encoder not accepting data: Broken pipe at /usr/lib/os-autoinst/backend/baseclass.pm line 141.
See the original issue on GitHub.
Acceptance criteria¶
- AC1:
Suggestions¶
- Investigate code in videoencoder.cpp rounding frame dimensions e.g.
ti.frame_width = ((w + 15) >> 4) << 4;
- Confirm with a test running in 1440x900 using
wait_still_screen();
and booting a disk image or ISO in QEMU