[MPlayer-users] Re: time-adjust vobsub subtitles?
gabor at nekomancer.net
Mon May 16 23:08:49 CEST 2005
Guillaume POIRIER wrote:
> On 5/16/05, Gábor Farkas <gabor at nekomancer.net> wrote:
>>Gábor Farkas wrote:
>>>i have a video + vobsub subtitles (idx+sub files)..
>>>the problem is the following:
>>>for the first half of the video, the subtitles match perfectly.
>>>and for the second half, i have to shift the subtitles by 8seconds.
>>>(i have to use "-subdelay -8").
>>>are there any programs that can adjust the time-info in vobsub files?
>>>preferably linux programs, but windows ones are fine too.
>>ok, i fixed the problem.
>>i didn't realize that the .idx file is a simple plaintext file..
>>so with a little python text-processing, i adjusted it.
> Could you maybe post it here? It might be useful to other people...
ok, here it is..it's really nothing special.. i hope it will be useful
vobshift.py in.idx out.idx +8.3
this will shift the time by 8.3 seconds...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-users