From 2e7ee616e819735c4024d750d1e93cffa029ac05 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 16 May 2026 21:39:43 +0200 Subject: test(testing): add generated media test files Add a developer script that uses ffmpeg lavfi sources to create synthetic video test files without storing binary media in the repository. Allow callers to choose codec, resolution, duration, frame rate, source filter, pixel format, output path, and overwrite behavior from the command line. Expose the generator through just and ignore generated testfiles in git. --- justfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index 7efa940..27bb985 100644 --- a/justfile +++ b/justfile @@ -9,5 +9,10 @@ prepare version: release version: (prepare version) ./devscripts/release.sh release "{{version}}" +# Generate a synthetic video test file with ffmpeg. +testfile *args: + ./devscripts/generate-testfile.sh {{args}} + clean: rm -f dist/transcode-*.tar.gz + rm -f testfiles/* -- cgit v1.3.1