Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dvd::rip subtitle extraction doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rosowski
n00b
n00b


Joined: 09 Nov 2003
Posts: 51

PostPosted: Wed May 26, 2004 2:13 pm    Post subject: dvd::rip subtitle extraction doesn't work Reply with quote

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
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Williamstown, MA

PostPosted: Wed May 26, 2004 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Wed May 26, 2004 5:40 pm    Post subject: Reply with quote

Hi,

if you want vobsub subtitles, take a peek here: http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-extractsub

HTH,
/tetra
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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