Help, problem with subtitles.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
VIKINGS
Blank Cone
Blank Cone
Posts: 11
Joined: 24 Jul 2009 17:47

Help, problem with subtitles.

Postby VIKINGS » 09 Nov 2023 10:37

Hello World,

Not sure if this is the right place to post this, if it's not, sorry. I have a problem where with some subtitles certain lines appear very high on the screen, some as high as the middle of the screen, instead of at the bottom of the screen where they normally belong.

This happens for 2 reasons:

1. When the start time of the line is smaller then the end time of the previous line.
Ex:
00:00:06,720 --> 00:00:07,726 What are you wearing?
00:00:07,724 --> 00:00:12,050 A rechargeable cooling vest.

2. When the start time of the line is identical to the end time of the previous line.
Ex:
00:00:06,720 --> 00:00:07,726 What are you wearing?
00:00:07,726 --> 00:00:12,050 A rechargeable cooling vest.

For problem nr.1 I've found a solution. You open the .srt file with the program Aegisub, you click on the "Automation" tab, then on "Select Overlaps". This will select all the lines that present problem nr.1. Then you click on the "Timing" tab, then on "Shift Times". In the window that opens at "Time" you put the necesary number of miliseconds(so in our example we would put 3 miliseconds, so it would look like 0:00:00.03) and for the rest you select Forward+Selected Rows+Start Times Only.

You click OK and bingo, all the lines that have been selected by the automation script will be offset by the time you added and will display properly from now on.

Unfortunately this doesn't work for problem nr. 2, since those lines aren't technically overlapping(even if vlc treats them the same as those that do overlap) the script can't automatically select them, so you would have to manually go through the subtitles line by line and fix them... :(

Any suggestions please how I could solve this problem in a similar more automated way? Otherwise it's gonna take me forever. :cry:

Thank you.

VIKINGS
Blank Cone
Blank Cone
Posts: 11
Joined: 24 Jul 2009 17:47

Re: Help, problem with subtitles.

Postby VIKINGS » 19 Nov 2023 11:36

Nevermind, someone on another forum pointed out the most obvious thing in the world!!!(can't believe I didn't see it) :shock: :shock:

That after I solve the overlaps with the method I detailed for problem nr. 1 I could once again use "Shift Times" with 1 milisecond and Forward+All Rows+Start Times Only. While this applies to the entire subtitle it would fix all the lines with problem nr. 2 with an imperceptible difference for the rest of it. :D


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests