fix bug
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user