Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I play a movie with subtitles (on VLC media player), the text is often displayed too soon or too late. Is there a way to delay the starting point of the subtitles?

share|improve this question
up vote 37 down vote accepted
  1. Open VLC media player.
  2. Click the File Menu.
  3. Click Open File.
  4. Click Browse to Open the Movie.
  5. Check the "Use a subtitle file" Box.
  6. Click Browse to Open the Subtitle.
  7. Click "Advanced Settings"
  8. Move the Delay into the minus if the subtitles are too fast. Move it into the positive if the subtitles are too slow.

You can also just press H and G while the video is running to align the subtitles backward and forward in time; for the voice use J and K. The increments are in milliseconds, so it can be pretty easily fine tuned that way.

Source

If you want to fix the subtitles 'for good', I recommend Subtitle Workshop; it's free.

share|improve this answer
3  
with the kmplayer you could adjust the timing of your subtitles while you watching the video AND saving it. (And you could also set the amount of milliseconds incremented by the hotkeys) – fluxtendu Jan 14 '10 at 13:33
    
true enough, subtitle handling of VLC was always somewhat 'orphaned' compared to KMPlayer or SMPlayer. – Molly7244 Jan 14 '10 at 13:42
3  
it's G & H on my fresh install of VLC 1.0.3, and the default jump is around 50ms. J/K are the audio delay. (i expect your source just reported the keys wrong.) – quack quixote Jan 14 '10 at 23:15
3  
This solution permit to "slide" the subtitle starting point. But I have the problem that the subtitles slowly become de-sync with time. Just as the "pitch" was a little bit higher... Is there a way to "to accelerate" or "to slow down" the subtitles speed ? – Pierre Jun 18 '10 at 12:09
1  
All the steps are correct except for step 8. If the subtitles are too fast, then you need to induce some positive delay and vice versa. So 1. If subs come before audio -> set subtitles delay in +ve. 2. If audio comes before subtitles -> set subtitles delay in -ve. – user143374 Jul 1 '12 at 2:39

There is a much more easy way to do this via the advance synchronisation functionality of VLC

  1. Detect (“hear and see”) that subtitles are out of sync
  2. Press Shift + H when you hear a sentence that you will be able to easily recognize
  3. Press Shift + J when you read the same sentence in the subtitle
  4. Press Shift + K to correct the sync
share|improve this answer
3  
Nice one - solves the problem when the subtitles are out of sync. I wish there was a similar facility for solving issues when the subtitles have a different FPS. – axel22 Dec 24 '14 at 13:29
3  
@axel22 Wishes of Christmas often are fulfilled. You can start it from command line with the option --sub-fps and the new fps, or change it in the options windows. Give it a look to another answer and to the full help of vlc. – Hastur Jan 19 '15 at 8:19
    
This is better than the accepted answer. – Computist Jan 17 at 19:15
    
Well lets ask @Pierre to mark it as the answer then. – NoNameProvided Feb 11 at 10:25

By command-line is possible to use the option --sub-delay followed by the number positive or negative of 1/10 of seconds of delay to add. So to shift the subtitle of 3 second you can run vlc with the following command line

 vlc --sub-delay 30  myfile.avi

In a similar way acts the option --sub-fps that override the normal fps.

--sub-fps Frame per second
Override the normal frames per second settings. This will only work with MicroDVD and SubRIP (SRT) subtitles.

With VLC 3.0.0 there are some other option that can be useful (and almost self-explicative)

  • --sub-fps
  • --sub-delay
  • --sub-type
  • --sub-file
  • --sub-language
  • --sub-autodetect-file

More options maybe interesting:

  • --sub-description, --sub-autodetect-fuzzy --sub-autodetect-path --sub-margin -sub-source --sub-filter --sub-track --sub-track-id

Specifically with subsdelay

  • --subsdelay-mode --subsdelay-factor --subsdelay-overlap --subsdelay-min-alpha --subsdelay-min-stops --subsdelay-min-start-stop --subsdelay-min-stop-start

For further information invoke vlc -H or check the online vlc user manual

share|improve this answer

The best way to synchronize your subtitles is not via VLC (tho it is possible). To permanently synchronize subtitles you would need to use tools like SubtitleWorkshop and through that tool you can easily edit subtitles the way you want, even set first and last spoken like synchronize subtitles even with more accuracy.

share|improve this answer

VLC has an advanced support for subtitles. You can easily synchronize subtitles with keyboard shortcuts G and H within the application.

This way, you can sync subtitles by +/- 0.5 seconds by default.

However, if you want more functions and possibility to save synchronization permanently in your subtitle file, then you would need to use tools such as Subtitle Workshop.

Through this app, you can easily set the first and the last spoken word in the movie and subtitle timings are automatically adjusted between these two lines.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .