Skip to content
Snippets Groups Projects
Commit 8b59934b authored by Simon Künzel's avatar Simon Künzel
Browse files

Add some logging to ffmpeg_filter_graph_target

parent 250580df
Branches
Tags
No related merge requests found
......@@ -247,10 +247,14 @@ def execute(database, own_job_id, input_data: CJsonObject):
cmd = context.build_cmd()
print(f"UNSAFE: {' '.join(str(a) for a in cmd)}")
print(cmd, flush=True)
logger.info(f"UNSAFE: {' '.join(str(a) for a in cmd)}")
logger.info(cmd)
process_res = subprocess.run(cmd)
if process_res.returncode != 0:
raise ValueError(f"FFmpeg returned non-zero exit code: {process_res.returncode}")
logger.info("FFmpeg finished. Moving file to final destination...")
context.move_output_files_to_final_destination()
logger.info("Finished")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment