FIX 对其音视频长度

This commit is contained in:
kyj@bowong.ai 2025-04-25 10:14:08 +08:00
parent d982c68332
commit d12f6599f1
1 changed files with 4 additions and 0 deletions

View File

@ -336,6 +336,10 @@ class VideoChangeFPS:
loguru.logger.warning(f"音视频长度未对齐!视频长度: {final_video_dur:.3f}s, 音频长度: {final_audio_dur:.3f}s")
else:
loguru.logger.success(f"处理成功!视频长度: {final_video_dur:.3f}s, 音频长度: {final_audio_dur:.3f}s")
try:
os.remove(output_temp)
except:
pass
return (output,)
except:
traceback.print_exc()