From 843e113fb5edfad0f761004e4bf17e0e73612d0b Mon Sep 17 00:00:00 2001 From: imeepos Date: Fri, 19 Sep 2025 17:54:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AD=97=E5=B9=95?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=8A=9F=E8=83=BD=E8=BE=93=E5=87=BA=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cluster/ffmpeg_apps/subtitle_apply.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cluster/ffmpeg_apps/subtitle_apply.py b/src/cluster/ffmpeg_apps/subtitle_apply.py index f53b0c3..582798e 100644 --- a/src/cluster/ffmpeg_apps/subtitle_apply.py +++ b/src/cluster/ffmpeg_apps/subtitle_apply.py @@ -44,6 +44,7 @@ with ffmpeg_worker_image.imports(): subtitle_path = f"{s3_mount}/{subtitle.cache_filepath}" if subtitle else None embed_subtitle_path = f"{s3_mount}/{embed_subtitle.cache_filepath}" if embed_subtitle else None output_path = f"{output_path_prefix}/{config.modal_environment}/subtitle_apply/{func_id}/output.mp4" + os.makedirs(os.path.dirname(output_path), exist_ok=True) if fonts: font_dir = f"{output_path_prefix}/{config.modal_environment}/subtitle_apply/{func_id}/fonts" os.makedirs(font_dir, exist_ok=True)