How can I re-sync the subtitle and the video using VLC media player?

667,607

Solution 1

  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.

Solution 2

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

Solution 3

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

Solution 4

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.

Solution 5

With VLC for Mac (mine is v3.0.6),

  1. Use the menu File > Advanced Open File ...;
  2. In the prompt, select the File tab, and browse to your video file;
  3. Check Add Subtitle File, then click Choose... to bring up the next prompt;
  4. In that prompt, browse to your subtitle file;
  5. Check Override parameters;
  6. Set your delay in seconds in Delay. Minus values speed up subtitle and vice versa;
  7. Hit OK then hit Open. The video either restarts or continues depending on your related settings in your Preferences;
  8. If the delay is not quite there, repeat #1-7 with adjustments; if that still doesn't seem to work, then after resetting, close and reopen VLC.

One trick: Use big numbers at first, e.g., 20s, to test water, then fine-tune to close in on the actual delay.

Share:
667,607

Related videos on Youtube

Vandit Mehta
Author by

Vandit Mehta

Back-end Analyst Developer - Team Lead

Updated on September 17, 2022

Comments

  • Vandit Mehta
    Vandit Mehta almost 2 years

    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?

  • fluxtendu
    fluxtendu over 14 years
    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)
  • Admin
    Admin over 14 years
    true enough, subtitle handling of VLC was always somewhat 'orphaned' compared to KMPlayer or SMPlayer.
  • quack quixote
    quack quixote over 14 years
    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.)
  • Vandit Mehta
    Vandit Mehta about 14 years
    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 ?
  • Admin
    Admin about 12 years
    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.
  • axel22
    axel22 over 9 years
    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.
  • Hastur
    Hastur over 9 years
    @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.
  • Tim Büthe
    Tim Büthe over 9 years
    I'm using Version 2.1.2 Rincewind (Intel 64bit) on Mac OS and the correct keys are F and G for Audio delay and H and J for subtitles.
  • Computist
    Computist over 8 years
    This is better than the accepted answer.
  • Jake Wilson
    Jake Wilson about 8 years
    Why would VLC not allow you to simply save this setting out to a file that gets automatically loaded with the movie when you open it?
  • Zelphir Kaltstahl
    Zelphir Kaltstahl about 8 years
    Note: This method does not work with all subtitles. Sometimes you can make the subtitle sync for a short time, but the next minute they're desync again. As if there is a growth in delay. So you can set an additional value in VLC a factor for delay or so, but that sometimes also doesn't help, because the delay then seems to be exponential. I am convinced, that VLC does not handle subtitles correctly in some cases causing this kind of issue. – Also when you check the subtitle files their timings don't seem to be THAT much wrong.
  • Bryan CS
    Bryan CS over 7 years
    Agree. This one is better and so much easier to perform.
  • johni
    johni over 6 years
    how do you perform this when the subtitles are ahead of sound? I cannot press SHIFT+J before pressing SHIFT+H
  • NoNameProvided
    NoNameProvided over 6 years
    You can rewind the movie after pressing Shift+H, no?
  • Diaa
    Diaa almost 6 years
    Way better than the accepted answer.
  • woony
    woony over 5 years
    Doesn't seem to work properly when the sub is ahead of sound, with rewinding.
  • topher
    topher over 5 years
    Is there any way to save the modified / synced .SRT after performing this action?
  • NoNameProvided
    NoNameProvided over 5 years
    I don't think so.
  • Karuhanga
    Karuhanga over 5 years
    If only I could up vote twice
  • zakmck
    zakmck almost 5 years
    Subtitle Workshop is quite poor, at least on macOS, menus don't open, I tried to open a file from the splash menu, hung forever, two times.
  • Zimba
    Zimba almost 5 years
    Question is asking about VLC. Your answer is promoting another tool, not answering the question.
  • Zimba
    Zimba almost 5 years
    is there any option to save the modified timings to file?
  • Hastur
    Hastur almost 5 years
    @Zimba If I correctly understood... you can use any subtitle editor (the 1st I found open source)... or you can write a script with the used command line (.sh or *.bat if you are under Linux or Windows)... :-)
  • Ulf Gjerdingen
    Ulf Gjerdingen over 4 years
    are we actually changing the speed here? isn't it supposed to shift the position in time instead?
  • SantiBailors
    SantiBailors over 3 years
    Thanks for the recommendation of Subtitle Workshop. For some reason my Comodo Internet Security blocks access to that website, as if it had bad reputation or something. I made it make an exception and I downloaded the program (Windows) and I made Comodo scan the files and no malware was found.
  • Kaushal28
    Kaushal28 over 3 years
    @woony When sub is ahead of audio, first bookmark the sub using Shift+J, then use Shift+H and then Shift+K. This works like a charm! Thanks.
  • help-info.de
    help-info.de about 3 years
    Welcome to Super User! Before answering an old question having an accepted answer (look for green ✓) as well as other answers ensure your answer adds something new or is otherwise helpful in relation to them. Here is a guide on How to Answer. There is also tour for the site tour, and help center for the help center.