This commit is contained in:
Q
2025-05-21 08:08:46 +03:00
parent 5eb441e0a9
commit 54cde9adc4
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import argparse
from tsmark.video_annotator import Marker from tsmark.video_annotator import Marker
VERSION = "0.6.1" VERSION = "0.6.2"
def get_options(): def get_options():

View File

@@ -375,7 +375,7 @@ class Marker:
if h < 0: if h < 0:
y = y + h y = y + h
h = -h h = -h
cropstr = ["-filter:vf", f"crop={w}:{h}:{x}:{y}"] cropstr = ["-vf", f"crop={w}:{h}:{x}:{y}"]
self.stamps.sort() self.stamps.sort()
print("# Timestamps:") print("# Timestamps:")
audio_str = AUDIO_COPY if self.opts.ffmpeg_copy else AUDIO_COMPRESS audio_str = AUDIO_COPY if self.opts.ffmpeg_copy else AUDIO_COMPRESS