Skip to content

Instantly share code, notes, and snippets.

@technikhil314
Created May 15, 2022 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technikhil314/2f394a5dc7412288ba5ea2276ccadc95 to your computer and use it in GitHub Desktop.
Save technikhil314/2f394a5dc7412288ba5ea2276ccadc95 to your computer and use it in GitHub Desktop.
Useful ffmpeg and youtube downloading commands
// download some lytrical video from youtube using youtubelink
yt-dlp "someYoutubeLink" --extractor-args youtube:player_client=android --throttled-rate 100K -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"
// merge downloaded youtube lyrical video with karaoke audio to create karaoke video trakc
ffmpeg -i someVideo.mp4 -i someAudio.mp3 -c:v copy -c:a aac -map 0:v:0 -map 1:a:0 "Output Karaoke.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment