From 5f24b397ca696bef10986a42b6ab388a7721770c Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 16 Feb 2021 22:22:24 +0100 Subject: [PATCH] specify video codec --- video-shredder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video-shredder.py b/video-shredder.py index 1d1bc26..a975203 100644 --- a/video-shredder.py +++ b/video-shredder.py @@ -72,7 +72,7 @@ def processLayout (layout): ffmpeg .input(inputpath) .crop(**item['geomentry']) - .output(outputpath) + .output(outputpath, pix_fmt='yuv420p') .run() ) print('Finished processing all tiles!')