replace sseof with -t flag & remove constant that now lives in the config file

This commit is contained in:
2025-12-18 22:36:13 +00:00
parent 51f4c38b63
commit 766ce08e0d
2 changed files with 1 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ def concat_ts_files(file_list: list[str], start_offset: float, end_offset: float
if start_offset > 0:
cmd += ["-ss", str(start_offset)]
if end_offset > 0:
cmd += ["-sseof", str(length)]
cmd += ["-t", str(length)]
cmd += ["-f", "concat", "-safe", "0", "-i", "file_list.txt", "-c", "copy"]
cmd.append(output_file)

View File

@@ -11,7 +11,6 @@ from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
INTERVAL = 10
MAX_AGE_SECONDS = 60 * 60 * 1
running = True
def open_obs():