The picture is from "Unstoppable(2010)". And, subtitle is 3 seconds faster than soundtrack. So, I had to adjust the subtitle offset in VLC media player menu.
Tools >> Track Synchronization and subtract 3 seconds for delay. See Fig-1.
(The scene of this film in this blog is only for illustrative purpose only. Non-commercial)
Fig-1: The incorrect timing of the subtitle file
As I had to lag the subtitle file 3 sec. I have to run the script with -sec -3 parameter. (In case where the soundtrack is faster than the subtitle, you need to give -sec +3 second to overtake with the soundtrack). So, I put it all together..\Shift_Subtitle_Time_Track.ps1 -SourceFile .\Unstoppable.2010.1080p.BrRip.x264.srt -sec -3
Fig-2: Make a 3 sec delay for each subtitle content in file
The new file will be appended with (new) word if you do not specify the new file name. So, it will be <oldfilename>(new).srt file. You also need to point your player to use the new subtitle file. See Fig-3.Note that you can reset the VLC player subtitle synchronization settings to 0.
Fig-3: Now the Playback time and Subtitle time frame are the same
You are without questions a genius!!
ReplyDeleteYour script just saved me hundreds of hours of editing SRT files by hand.
Thanks a lot!!
Nice Blog, Best microsoft office 2010 professional for Mac Home and Business edition is a powerful suite which fulfils the productivity applications, written for Mac OS X.
ReplyDeleteNice Blog, Best microsoft office 2010 professional for Mac Home and Business edition is a powerful suite which fulfils the productivity applications, written for Mac OS X.
ReplyDelete