zhangyong 9 months ago
parent
commit
4363bf9793
1 changed files with 2 additions and 0 deletions
  1. 2 0
      video_rewriting/video_prep.py

+ 2 - 0
video_rewriting/video_prep.py

@@ -176,8 +176,10 @@ class getVideo:
                         if video_ending and video_ending != 'None':
                             if video_ending == "AI片尾引导":
                                 pw_srt_text = GPT4o.get_ai_pw(new_title)
+                                print(f"片尾字幕{pw_srt_text}")
                                 if pw_srt_text:
                                     pw_url = TTS.get_pw_zm(pw_srt_text)
+                                    print(f"片尾音频{pw_url}")
                                     Common.logger("log").info(f"{task_mark}下的视频{url},获取AI片尾音频成功")
                                     if pw_url:
                                         pw_url_sec = FFmpeg.get_videos_duration(pw_url)  # 获取片尾秒数