Adding subtitles to YouTube videos with Gnome Subtitles

Screenshot of editing subtitles in Gnome Subtitles

Video is a fantastic medium, and the means to make video have never been more accessible. Many people have video cameras, not just dedicated units, but other devices capable of taking video such as digital photo cameras and mobile phones. The software to edit video is available for free with the availability of open source packages such as Kino, and you can make your video available to the world with services such as YouTube. But what about accessibility? It's a question I've heard raised about the use of video, often because people don't realise that you can add Subtitles (also known as Closed Captioning) to the videos that you upload. If you go to the YouTube page for a video you have uploaded you will see an option on the right hand side for "Captions and Subtitles". Here you will see a screen to upload your subtitles file, you'll notice too that you can upload different sets of subtitles for different languages, very handy if you want to provide translations in foreign languages for the dialogue in your video. People might use subtitles for all sorts of reasons, the most obvious might be because they hearing difficulties, but also for many other reasons, for example, they might be learning English, and having a subtitles file might be useful to help them follow the dialogue, or they might be in a quiet environment where listening to audio is not convenient.

Screenshot of YouTube upload subtitles screen.The instructions on YouTube for creating the subtitle files you will need give you the full format required and mentions that you will need some software or the services of an external company to create the file. Fortunately, there is a program that can create the files you need in the Ubuntu repositories, it is called Gnome Subtitles and contains everything you need. To install it you will need to install the gnome-subtitles package (and if you are using Hardy libmono-i18n2.0-cil). After you install the program you can get full instructions on how to use it from the help menu, I found it pretty intuative to use, it is a bit like editing scenes, except you just enter a bit of text for each bit of text spoken. I found it helped to do a very rough subtitling first to just transcribe what was said (as the video I was working on was unscripted) and then adjust each subtitle to get the timings right, which can be done easily using the two buttons under the timer on the left hand side. Once you are finished you should save your project in "SubViewer 2.0 (*.sub)" format. You can then upload it to YouTube. There might be a short delay while YouTube processes the file.

The "CC icon" in the YouTube playerThe next time you visit your video's YouTube page you can activate the subtitles by clicking on the button at the bottom right of the YouTube player and clicking on the pop up "CC" icon. At the moment it only works on the actual YouTube page and not in embedded players. Hopefully YouTube will update the embedded player soon to incorporate this valuable feature. A releated feature - Annotations is described as being in beta and once it is out of beta the player will be updated, so this may well be the same time as subtitles make it to the embedded players. It didn't take too long to add subtitles to the video that we made, you can see the results at:


That's pretty cool. I just got my first video camera few days ago, and am slowly learning (1) how to use it effectively, and (2) how to display what I shot effectively. I did not know youtube had this capability (I need to click on more things!).

This is a great resource for those of us who enjoy uploading personal videos on youtube. I will let you know if I have any other questions regarding this.

I just wanna know, is there any solution for this :

I have a big video file with softsub. I want to split the video and upload it to youtube. I dont have any problem with that but it cost me a lot of time to re-sync the subtitle so that it appears correctly because, as we split the video, the timing will change, right? Is there any way for me to split the avi files along with the srt file simultaneously?

I don't know of an easy way unfortunately. It might be possible to do this by writing a script to go though the srt file (as it is text) and recalculate the frame numbers and time for splits. Does anyone out there know of an easier way?

There is a solution out there. I'm working with Ubuntu 10.10 and used Subtitle Editor to split the *.srt-Files. For splitting the video file I've used avidemux. Give it a try.

I'd like to find a copy of the Gnome Subtitles' manual. I'm just starting with this and checked the help today only to find a message saying "unable to find manual". I looked on the Ubuntu software center for an additional download as well as on the Gnome Subtitles' website with no luck.

If you know where I can get it please send me a message at Ubuntu Forums.

hi all,

you can watch and add subtitles to YouTube videos with the Subber platform.
it's much more easy and fun.

I've just seen a website which does that for you:
You just have to put in full text and press "sync" :)

Add new comment

Comments are always very welcome, but please note the following:
  • Sadly due to the high number of spam comments recently all comments are now manually moderated. You comment will therefore not appear on the site instantly.
  • Comments on this web site are monitored for spam using Mollom. By posting a comment, you accept that your message and other personal details about you will be analysed and stored for anti-spam and quality monitoring purposes, in accordance with Mollom's privacy policy.
  • Please use your own name not a company or website name to submit comments. Your comment will be removed if you don't do this.
  • All links in comments will be marked with a no follow attribute. That means posting a link to your site here won't help your search engine rankings.
  • By submitting a comment you agree that your comment can be reproduced under the same licensing terms as the rest of the content on the site.
  • Comments can be removed at any time without explanation, but won't be removed just because you disagreed with something I said.