View previous topic :: View next topic |
Author |
Message |
rosowski n00b
Joined: 09 Nov 2003 Posts: 51
|
Posted: Wed May 26, 2004 2:13 pm Post subject: dvd::rip subtitle extraction doesn't work |
|
|
Hi,
I'm trying to rip a dvd with dvdrip. Everything works fine, except the creation of the vobsub file for the subtitle.
The following error gets thrown:
Code: |
An internal exception was thrown!
The error message was:
Illegal division by zero at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip/Job/ExtractPS1.pm line 78.
|
Anyone know what I can do?
transcode-0.6.11
dvdrip-0.50.18
kernel 2.6.5 |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Wed May 26, 2004 2:42 pm Post subject: |
|
|
let me tell you, making subtitles (well, GOOD subtitles, is not a quick process ... straight forward though....)
from "man ogmmerge":
Code: |
rip package found in transcode(1)'s sources (in contrib/subrip). The general process is:
1. extract a raw subtitle stream from the source:
$ tccat -i /path/to/copied/dvd/ -T 1 -L | \
tcextract -x ps1 -t vob -a 0x20 | \
subtitle2pgm -o mymovie
2. convert the resulting PGM images to text with gocr:
$ pgm2txt mymovie
3. spell-check the resulting text files:
$ ispell -d american *txt
4. convert the text files to a SRT file:
$ srttool -s -w -i mymovie.srtx -o mymovie.srt
The resulting file can be used as another input file for ogmmerge:
$ ogmmerge -o mymovie.ogm -c 'TITLE=My Movie' mymovie.avi \
-c LANGUAGE=English mymovie.ogg -c LANGUAGE=English mymovie.srt |
transcode, gocr, aspell ... you're good to go
you'll probably find the ps* in the tmp directory dvd::rip saves stuff too ... unless subtitle ripping was completley busted for you. _________________ jñanam bandha |
|
Back to top |
|
|
tetrahydroc Tux's lil' helper
Joined: 22 Aug 2003 Posts: 144
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|