ffmpeg video cover add file

This commit is contained in:
2026-06-02 14:28:26 +08:00
parent 06d583c9f7
commit a2d7a59182
16 changed files with 284 additions and 48 deletions
@@ -119,6 +119,7 @@ async def _run(task_id: str):
task.image_url = downloaded.url
else:
task.video_url = downloaded.url
task.video_cover_url = downloaded.cover_url
task.status = "completed"
task.pipeline_stage = "done"
@@ -144,6 +145,7 @@ async def _run(task_id: str):
to_stage="done",
detail={
"resource_url": downloaded.url,
"video_cover_url": downloaded.cover_url,
"file_size_bytes": downloaded.file_size_bytes,
},
)