diff --git a/Makefile b/Makefile index 9903d45..467fb5d 100644 --- a/Makefile +++ b/Makefile @@ -25,4 +25,6 @@ pip: ## Install with pip pipx: ## Install with pipx pipx install -f . +hatchling: ## Run hatchling + hatchling build diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index 0ed9a2e..a613d23 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -509,7 +509,7 @@ class Marker: if h < 0: y = y + h h = -h - cropstr = ["-filter:vf", f"crop={w}:{h}:{x}:{y}"] + cropstr = ["-vf", f"crop={w}:{h}:{x}:{y}"] self.stamps.sort() print("# Timestamps:") audio_str = AUDIO_COPY if self.opts.ffmpeg_copy else AUDIO_COMPRESS