zhangyong 1 år sedan
förälder
incheckning
db0c983960
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      video_stitching/video_stitching.py

+ 1 - 1
video_stitching/video_stitching.py

@@ -131,7 +131,7 @@ class VideoStitching():
             f.write(response.content)
             time.sleep(10)
         Common.logger().info(f"开始提取视频的音频{audio}")
-        video1 = VideoFileClip(audio)
+        video1 = VideoFileClip(filename)
         mp3 = video1.audio
         Common.logger().info(f"提取视频的音频成功")