quote output file too
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from tsmark.video_annotator import Marker
|
from tsmark.video_annotator import Marker
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
VERSION = "0.4.1"
|
VERSION = "0.4.2"
|
||||||
|
|
||||||
|
|
||||||
def get_options():
|
def get_options():
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ class Marker:
|
|||||||
print("# {}: {} / {}".format(i + 1, self.format_time(ts), ts + 1))
|
print("# {}: {} / {}".format(i + 1, self.format_time(ts), ts + 1))
|
||||||
if len(self.stamps) > 0:
|
if len(self.stamps) > 0:
|
||||||
print(
|
print(
|
||||||
"ffmpeg -i '{}' -ss {} -to {} -c copy {}.trimmed.mp4".format(
|
"ffmpeg -i '{}' -ss {} -to {} -c copy '{}.trimmed.mp4'".format(
|
||||||
self.opts.video,
|
self.opts.video,
|
||||||
self.format_time(self.stamps[0]),
|
self.format_time(self.stamps[0]),
|
||||||
self.format_time(self.stamps[-1]),
|
self.format_time(self.stamps[-1]),
|
||||||
|
|||||||
Reference in New Issue
Block a user