Log in

View Full Version : Delete a subtitle line in SUB/IDX (with subresync?)


ejp
22nd February 2005, 21:33
i don't think it's been answered before. if it has, could someone direct me to the proper thread?

i've been working on this for a long time. i'm almost done, just another small problem, i think.

i have a vobsub idx/sub set, and i've convert to srt. this produces perfect sync with the movie. (before it didn't because; for some reason, vobsub didn't extract the timestamps correctly, so i had to go in and fix them myself after getting the right timestamps by converting to srt directly from the ripped VOBs).

now, with the fixed timestamps in the vobsubs, i converted them to srt. they match exactly to when i've converted directly from the VOBs. so (in terms of timing): vobs->vobsubs->srt = vobs->srt

the srt matches exactly with the movie. but when i use the vobsubs (the fixed ones i used to convert to srt), there's a large part in the movie where they get out of sync, but then it'll go back in sync. i looked in the idx again, and it looks like the subpictures are playing exactly one timestamp AHEAD of when it should. i tried playing around with the lines in the idx, no luck.


timestamp: 00:57:43:646, filepos: 0001d9000 <- this plays fine
timestamp: 00:58:08:704, filepos: 0001d9800 <- this plays fine
# Vob/Cell ID: 6, 1 (PTS: 3486241)
timestamp: 00:58:12:041, filepos: 0001ea800 <- blank when loaded into Subresync
# Vob/Cell ID: 5, 20 (PTS: 1796656)
timestamp: 00:58:14:176, filepos: 0001da000 <- this subpicture should be
played in the previous timestamp (00:58:12:041), but is instead played here

... but when it's converted to SRT ...


826
00:57:43,646 --> 00:57:46,444
Hey, it's me.

827
00:58:08,704 --> 00:58:09,602
[Snap]

828
00:58:12,041 --> 00:58:14,066
Go for help! Go!

829
00:58:14,176 --> 00:58:15,666
Great. Come on!

it plays fine, and the line is filled under 00:58:12,041. in the idx, that line falls under 00:58:14,176. i don't know why it's doing it, and not sure how to fix it in the idx file, if it's even possible.

is there a way to delete that blank line in subresync? the lines ahead of it will still play ahead by one timestamp, but at least i've deleted the blank line, and i can put in the proper times for the rest of the faulty subtitles.

thanks.

lordyu
23rd February 2005, 00:36
Could you kindly wrap the line in the "code" block that causes this page to be very wide and difficult to read please? Cheers.

ejp
23rd February 2005, 01:37
sorry. there you go.

niamh
25th February 2005, 18:44
You can do it manually, by opening your idx in notepad and deleting the offending timestamp, or commenting it out with a #