Download YouTube Videos With Subtitles Using Youtube-dl

Download YouTube Videos with subtitles

3 Responses

  1. Anand says:

    This is excellent. Thank You !!

    It would be great to embed the subtitles into the video instead of a separate .vtt file though. Would you kindly include that ability into this article.

    Thanks Again.

  2. Anand says:

    You may combine the separate .vtt subtitle file and .mp4 video file into a single video file.

    1) Download the video in mp4

    2) Use ffmpeg to combine the downloaded mp4 and vtt files into a single video

    Using this article’s example:

    1) youtube-dl –format mp4 –write-auto-sub https://www.youtube.com/watch?v=smjfGmCn7x0

    2) ffmpeg -i Memories\ -\ Dr.\ APJ\ Abdul\ \ Kalam\’s\ speech\ at\ European\ Union-smjfGmCn7x0.mp4 -i Memories\ -\ Dr.\ APJ\ Abdul\ \ Kalam\’s\ speech\ at\ European\ Union-smjfGmCn7x0.en.vtt -c:s mov_text -c:v copy -c:a copy ‘video with embedded subtitles.mp4’

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.