[MPlayer-users] Re: time-adjust vobsub subtitles?

Guillaume POIRIER poirierg at gmail.com
Mon Jun 27 15:26:58 CEST 2005


Hej,

On 5/16/05, Gábor Farkas <gabor at nekomancer.net> wrote:
> Guillaume POIRIER wrote:
> > Hi,
> >
> > On 5/16/05, Gábor Farkas <gabor at nekomancer.net> wrote:
> >
> >>Gábor Farkas wrote:
> >>
> >>>hi,
> >>>
> >>>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").
> >>>
> >>>question:
> >>>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
> to someone..
> 
> usage:
> 
> vobshift.py in.idx out.idx +8.3
> this will shift the time by 8.3 seconds...

I finally found some time to test your tool, which works very well.
I added it to our "TOOLS/" directory.

Thanks,

Guillaume
-- 
A woman isn't complete without a man.
But where do you find a man - a real man - these
days?
  -- Lauren Bacall
My answer: Only at #mplayerdev on the freenode IRC network.




More information about the MPlayer-users mailing list