Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

VLC: Subtitles Synchronization

📅 2011-Jul-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Problem

Many videos come with a subtitles track, either embedded in the video container or as a separate file (typically a .srt file). Sometimes, these subtitles might be out of sync with the video.

Solution

Syncing up the subtitles to the video is easy in VLC. Use the keyboard shortcuts h and g to either delay or forward the subtitles over the video. Each keypress changes the delay by 50 milliseconds and VLC displays the current delay value as an overlay on the video.

There is another method, but surprisingly it does not work! Open the ToolsTrack Synchronization dialog. Here, go to SynchronizationAdvance of subtitles over video and set the delay to the amount you wish. This setting surprisingly has no effect! What works is only the keyboard shortcuts described above.

Tried with: VLC 1.1.3