From 54cde9adc423b75f54e22761a12373ab90a15a23 Mon Sep 17 00:00:00 2001 From: Q Date: Wed, 21 May 2025 08:08:46 +0300 Subject: [PATCH] fix bug --- tsmark/__init__.py | 2 +- tsmark/video_annotator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tsmark/__init__.py b/tsmark/__init__.py index aced909..ee1bde2 100644 --- a/tsmark/__init__.py +++ b/tsmark/__init__.py @@ -2,7 +2,7 @@ import argparse from tsmark.video_annotator import Marker -VERSION = "0.6.1" +VERSION = "0.6.2" def get_options(): diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index 98aed1f..6de700f 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -375,7 +375,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