Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download a Single Video with Embedded Subtitle, En lang Sub
youtube-dl -v -f mp4 --write-sub --sub-lang en --sub-format ttml --convert-subtitles srt --embed-subs https://www.youtube.com/watch?v=F0c8U3x_vKM
Download a Single Video with Embedded Subtitle (Auto-Caption)
youtube-dl -v -f mp4 --write-auto-sub --sub-format ttml --convert-subtitles srt --embed-subs https://www.youtube.com/watch?v=Uiy_YuE8lCA
iSSUE: BUT how to tell youtube-dl to look for written Sub first and if there wasn't any the use auto-caption?
(for example PewDiePie uses his own sub if I write --write-auto-sub I would lose his sub)
and if I write --write-sub (if there wasn't any I would lose the chance to download auto-caption)