Skip to content

Instantly share code, notes, and snippets.

@springcoil
Last active May 28, 2021 08:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save springcoil/c18b0fabd882b38ecea1580a8d8b34db to your computer and use it in GitHub Desktop.
audio download create youtube
def download_create():
text = "<break time='5s'/>This could be your video voice over <break time='1s'/> Write your text here! Add breaks and personalisation parameters. Choose from our list of 180+ speakers. There are voices in Spanish, Enlgish, German and more! Create beautiful video voice overs."
downloadYouTube("https://www.youtube.com/watch?v=exXgMvbiCcU", "downloadedVideo")
tracks = ["speech", "audio"]
for track in tracks:
aflr_create(track, text)
combine_audio("downloadedVideo.mp4", "speech.mp3", "audio.mp3")
download_create()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment