PDA

View Full Version : Vobsub ignores time offset if loaded from AviSynth


madoka
17th March 2002, 15:56
I'm not sure if this thread should go into the AviSynth forum instead. Anyway...

I try to do as much processing within AviSynth, so that when I frameserve to VirtualDub I can encode with Fast Recompress mode. So, I usually first load Vobsub with VirtualDub to sync the subtitles correctly, but load it with AviSynth for the final encoding.

By chance, I noticed that the time offset parameter is being ignored if I use Vobsub with AviSynth. I guess I didn't notice this before because usually the subtitles aren't off my much, say ~100 ms. To be sure I tried setting the time offset to -50k ms, and still no effect.

Furthermore, if I start a job in VirtualDub that uses Vobsub (with AviSynth), aborts the job, then restart it, Vobsub will fail silently: no subtitles get loaded yet no error messages either. This doesn't happen if I load Vobsub as a filter within VirtualDub.

I'm using VirtualDub 1.4.9, VobSub 2.10, and AviSynth 1.05.

Schultz
17th March 2002, 17:33
Here is a work around for getting your subs right when using with AviSynth just modify the times using SubResync to adjust the time codes to what you are needing.. And gabest will have to comment on the delay not working in avisynth..

madoka
20th March 2002, 18:27
I took a look at SubResync, and it seems that I'll have to input the offset for EVERY subtitle text--I definitely don't want to do that!

Schultz
21st March 2002, 21:12
You won't have to do this.. when you input the new timecode for the first sub it updates all the rest of the timecodes with the change.. so you only have to modify the first one..

madoka
22nd March 2002, 05:12
You're right, I tried it out today, and it works. I'm still hoping to hear from the author about why the time offset doesn't work though. Arithimetic in base-60 isn't exactly my favorite activity... :)

madoka
12th April 2002, 21:54
I just tried out Vobsub 2.13, and the problem is still there. Now since no one replied to this thread saying that they have the same problem, maybe it's only with my machine?

In either case, can someone test it out and respond? Aside from Schultz (which I thank for the workaround), this thread is more like a monologue than a discussion...

ukendt
15th April 2002, 00:26
Usually I don't need any synch correction ( only encoding reg 2) but if I try I get same result.
Gabest specified though version 2.13 is not tha last one....:D

Schultz
15th April 2002, 10:07
I talked to Gabest on this issue and he said that the time offset is only used for the VirtualDub plugin part of VobSub. with the avisynth you need to either modify them with SubResync or open the idx file in notepad and add Delay: command into the file before the first sub or where you need the subs delayed at.