Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I download videos from YouTube with subtitles / captions?

I'd tried by using youtube-dl, with --write-srt --str-lang flags but I always get:

WARNING: video has no closed captions.

share|improve this question
1  
Well, does the video have closed captions? I cannot reproduce this issue for videos that have the CC sign available. Which video are you trying to download? Does it work with this one? –  slhck Oct 7 '12 at 20:31
    
Yes. Have the CC sign. For video that you have posted it worked fine. But for all that I had tried before it does not work, e.g for this video: youtube.com/watch?v=RHy9_RQbrnQ I get: WARNING: video has no closed captions unlike as you can see into youtube page. ` –  Jack Oct 8 '12 at 0:29
    
See exaclty what I have tried: python youtube-dl --write-srt --srt-lang en http://www.youtube.com/watch?v=RHy9_RQbrnQ [youtube] Setting language [youtube] RHy9_RQbrnQ: Downloading video webpage [youtube] RHy9_RQbrnQ: Downloading video info webpage [youtube] RHy9_RQbrnQ: Extracting video information [youtube] RHy9_RQbrnQ: Downloading video subtitles WARNING: video has no closed captions –  Jack Oct 8 '12 at 0:31
add comment

3 Answers

up vote 6 down vote accepted

Make sure the video you're trying to download has actual subtitles uploaded from the owner.

For example, the one where it fails only offers automatic captioning, which works by analyzing the speech in the video and then transcribing it on the fly:

However, what you want is a video that has "real" captions. Those can be downloaded easily.

For example:

youtube-dl --write-srt --srt-lang en 'http://www.youtube.com/watch?v=RHy9_RQbrnQ'
share|improve this answer
1  
Is there no way to download the one translated by youtube? –  Jack Oct 27 '13 at 21:11
    
Not that I'm aware of, no. There appear to be some programs for downloading subtitles (like Google2SRT mentioned in the other answers), but those are all for the "real" closed captions. –  slhck Oct 27 '13 at 22:01
add comment

If you want a free, easy-to-use program with a simple GUI, there's Google 2 SRT.

It detects all the available languages and converts to SRT, SSA or SUB.

enter image description here

share|improve this answer
add comment

I was also searching this and I found a great solution....you can download the video + subtitle language you want as well...

check the following link....

http://www.4kdownload.com/howto/howto-download-youtube-subtitles

It's really work for me....great piece of software...

share|improve this answer
    
Link only answers are often closed. Can you add some detail from the posted video to improve the answer? –  Dave M Dec 12 '13 at 14:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.