mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user