From 9df58b99ac69b3e6f3791acc2612f57d1d139e43 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 13 Jan 2022 12:22:01 +0200 Subject: [PATCH] quote output file too --- 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 6d1de06..82af21d 100644 --- a/tsmark/__init__.py +++ b/tsmark/__init__.py @@ -1,7 +1,7 @@ from tsmark.video_annotator import Marker import argparse -VERSION = "0.4.1" +VERSION = "0.4.2" def get_options(): diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index 824a6eb..9d7db68 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -265,7 +265,7 @@ class Marker: print("# {}: {} / {}".format(i + 1, self.format_time(ts), ts + 1)) if len(self.stamps) > 0: print( - "ffmpeg -i '{}' -ss {} -to {} -c copy {}.trimmed.mp4".format( + "ffmpeg -i '{}' -ss {} -to {} -c copy '{}.trimmed.mp4'".format( self.opts.video, self.format_time(self.stamps[0]), self.format_time(self.stamps[-1]),