Skip to content

Instantly share code, notes, and snippets.

@samirsaci
Created November 1, 2022 14:20
Show Gist options
  • Save samirsaci/3f609e27acc0b4c83b7fdc6f4b9c22fc to your computer and use it in GitHub Desktop.
Save samirsaci/3f609e27acc0b4c83b7fdc6f4b9c22fc to your computer and use it in GitHub Desktop.
Automate Video Editing - TTS
# Add the TTS
audio_clip = AudioFileClip("Comment.mp3")
video_unload7 = video_unload1.set_audio(audio_clip)
video_unload7.write_videofile("step_1_audio.mp4")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment