Hello,
I've just noticed a very little unsync at the second cd vobsub, here is
why:
commands example:
$ tcprobe -i PerfectBlue-003-0000.avi
[tcprobe] RIFF data, AVI video
...
length: 78570 frames, frame_time=40 msec,
duration=0:52:22.800
/new2/dvdrip/PerfectBlue/avi/003 && cp
/new2/dvdrip/PerfectBlue/tmp/ifo/vts_01_0.ifo
/new2/dvdrip/PerfectBlue/avi/003/PerfectBlue-003-0001-sid00.ifo && cd
/new2/dvdrip/PerfectBlue/avi/003 && chmod 644
PerfectBlue-003-0001-sid00.ifo && dr_exec cat
/new2/dvdrip/PerfectBlue/tmp/PerfectBlue-003-sid00.ps1 | dr_progress -m
2 -i 1 | subtitle2vobsub -e 3142,5697,0 -i
PerfectBlue-003-0001-sid00.ifo -o PerfectBlue-003-0001-sid00 &&sed
's/^id: /id: fr/' < PerfectBlue-003-0001-sid00.idx > vobsub18892.tmp &&
mv vobsub18892.tmp PerfectBlue-003-0001-sid00.idx
so subtitleripper is given a 3142 seconds split, but 0:52:22.800 is
closer to 3143 seconds.
Wouldn't it be a good idea to test something like:
if (milliseconds > 500) then start++; ?
A much better fix would be to change subtitleripper to understand a
millisecond split.
--
Jean-Yves Simon <lethalwp@xxxxxxxxxx>
____________________________________________________
http://lists.exit1.org/mailman/listinfo/dvdrip-users
How To Ask Questions The Smart Way:
http://catb.org/~esr/faqs/smart-questions.html
|