nixosTests.lomiri-mediaplayer-app: Fix OCR

For some reason, it can't find the video text anymore.

Increase its size, and invert its colours to match so the background matched the auto-added black borders of the player.
This commit is contained in:
OPNA2608
2025-12-13 00:17:41 +01:00
parent 0115364c74
commit 4b65c6834e

View File

@@ -25,7 +25,7 @@ in
];
}
''
magick -size 600x600 canvas:white -pointsize 20 -fill black -annotate +100+100 '${ocrContent}' output.png
magick -size 600x600 canvas:black -pointsize 32 -fill white -annotate +100+100 '${ocrContent}' output.png
ffmpeg -re -loop 1 -i output.png -c:v libvpx -b:v 200K -t 120 $out -loglevel fatal
'';
systemPackages = with pkgs.lomiri; [