commit 6986bb73bb604c8b44eee8d2cbd2818a2299ee88
parent 6f41453328ee6f1cc045f654bf7370cc5b698094
Author: Brian C. Lane <bcl@brianlane.com>
Date: Sun, 23 Jun 2019 13:36:36 -0700
Change ffmpeg to 5fps, drop -crf option that didn't make sense
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/strix/queue.py b/src/strix/queue.py
@@ -55,8 +55,8 @@ def process_event(log: structlog.BoundLogger, base_dir: str, event: str) -> None
except Exception as e:
log.debug("Failed to move debug images into ./debug/")
- ffmpeg_cmd = ["ffmpeg", "-f", "image2", "-pattern_type", "glob", "-r", "10", "-i", "*.jpg", "-c:v",
- "libvpx", "-crf", "10", "-b:v", "2M", "video.webm"]
+ ffmpeg_cmd = ["ffmpeg", "-f", "image2", "-pattern_type", "glob", "-framerate", "5", "-i", "*.jpg", "-c:v",
+ "libvpx", "-b:v", "2M", "video.webm"]
# Make a movie out of the jpg images with ffmpeg
try: