From fd564c4c0fa250a42195d874b4b7e1dff7f40e74 Mon Sep 17 00:00:00 2001 From: Q Date: Sat, 12 Apr 2025 21:05:15 +0300 Subject: [PATCH 1/3] builder --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 9903d45..7535523 100644 --- a/Makefile +++ b/Makefile @@ -25,4 +25,6 @@ pip: ## Install with pip pipx: ## Install with pipx pipx install -f . +dist: ## Run hatchling + hatchling build From 5eb441e0a92af2da7c8d11dc1f6a7f244037bc04 Mon Sep 17 00:00:00 2001 From: Q Date: Sat, 12 Apr 2025 21:05:45 +0300 Subject: [PATCH 2/3] builder --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7535523..467fb5d 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,6 @@ pip: ## Install with pip pipx: ## Install with pipx pipx install -f . -dist: ## Run hatchling +hatchling: ## Run hatchling hatchling build From 54cde9adc423b75f54e22761a12373ab90a15a23 Mon Sep 17 00:00:00 2001 From: Q Date: Wed, 21 May 2025 08:08:46 +0300 Subject: [PATCH 3/3] 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