diff --git a/sleap/io/videowriter.py b/sleap/io/videowriter.py index 6e670a5bd..510fad739 100644 --- a/sleap/io/videowriter.py +++ b/sleap/io/videowriter.py @@ -96,6 +96,7 @@ def __init__( outputdict={ "-c:v": "libx264", "-preset": preset, + "-vf": "scale=trunc(iw/2)*2:trunc(ih/2)*2", # Need even dims for libx264 "-framerate": fps, "-crf": str(crf), "-pix_fmt": "yuv420p",