Re: [Encode2mpeg-users] vobsrc to srt
Brought to you by:
encode2mpeg
|
From: Giacomo C. <enc...@us...> - 2009-02-19 14:06:50
|
On Thu, Feb 19, 2009 at 12:11:54PM +0100, Berardino la Torre wrote: > Hi All, > > I'm trying to extract the text (srt) subtitles from a dvd. So as reported in > the documentation: > > http://encode2mpeg.sourceforge.net/html/ocr.html > > I run the command: > > encode2mpeg -o movie dvd://1 -avionly -ocr -addsub 0,1 > > but there is no way to do it work! > > encode2mpeg exit allways with the same warning message below: > > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled encode2mpeg uses spumux/spuunmux to demux/mux dvd subtitles. if they are missing, then no demux is possible. Install dvdauthor and pay more attention to the output messages. I suspect you will get more of them :-(. Also keep in mind that: 1) text subtitles conversion is not a well tested feature. 2) results vary a lot depending of the ocr engine. Also I remember I had better results with tesseract 2.01 than 2.03, but probably it depends of the graphics subtitle source. In any case DO NOT use any vertion of tesseract newer than 2.03. 3) until you are sure you have all the needed tools installed, use a simpler command line: extract only one subtitle (-addsub 0), extract only a small part of them (-addchapter 1-2), copy the dvd image to the hard-disk and use -dvd-device <image_path> it will speed-up a lot your tests. 4) be prepared to hand edit the extracted subtitles. Ask here if you still have troubles. Giacomo > ++ WARN: [ocr] no subtitle selected with -addsub > WARNING you have an unsupported version of MPlayer [2:1.0~rc2-0ubuntu17] > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > > I tried to googling for info...but seems that there're not too much people > posting information about to convert subvob to text (srt) subtitles. > > Can anyone help me do it ? > > > Thanks in advance. > > The log: > > > ### LOG: movie [2009-02-19 12:02:42] > INFO: [encode2mpeg] version 0.6.4 running in Ocr Mode (cpu=2) > INFO: [encode2mpeg] command line: '-o movie dvd://1 -avionly -ocr -addsub > 0,1' > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > MPEG: frameformat:VCD split:800 vfr: vbr:1152 abr:224 asr:44100 > audioformat:mp2 mp2:mp2enc mpegencoder:mpeg2enc > SUB: ocr:tesseract > INFO: [identify] ID_DVD_TITLES=5 > INFO: [identify] ID_DVD_TITLE_1_CHAPTERS=33 > INFO: [identify] ID_DVD_TITLE_1_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_2_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_2_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_3_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_3_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_4_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_4_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_5_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_5_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_1_LENGTH=7626.000 > INFO: [identify] ID_DVD_TITLE_2_LENGTH=12.800 > INFO: [identify] ID_DVD_TITLE_3_LENGTH=49.160 > INFO: [identify] ID_DVD_TITLE_4_LENGTH=47.800 > INFO: [identify] ID_DVD_TITLE_5_LENGTH=47.800 > INFO: [identify] ID_DVD_DISC_ID=526972D6F55EBE812EDEFE53D9CA526D > INFO: [identify] ID_DVD_CURRENT_TITLE=1 > INFO: [identify] ID_AUDIO_ID=128 > INFO: [identify] ID_AID_128_LANG=en > INFO: [identify] ID_AUDIO_ID=129 > INFO: [identify] ID_AID_129_LANG=it > INFO: [identify] ID_SUBTITLE_ID=0 > INFO: [identify] ID_SID_0_LANG=en > INFO: [identify] ID_SUBTITLE_ID=1 > INFO: [identify] ID_SID_1_LANG=da > INFO: [identify] ID_SUBTITLE_ID=2 > INFO: [identify] ID_SID_2_LANG=fi > INFO: [identify] ID_SUBTITLE_ID=3 > INFO: [identify] ID_SID_3_LANG=it > INFO: [identify] ID_SUBTITLE_ID=4 > INFO: [identify] ID_SID_4_LANG=no > INFO: [identify] ID_SUBTITLE_ID=5 > INFO: [identify] ID_SID_5_LANG=sv > INFO: [identify] ID_SUBTITLE_ID=6 > INFO: [identify] ID_SID_6_LANG=it > INFO: [identify] ID_SUBTITLE_ID=7 > INFO: [identify] ID_SID_7_LANG=it > INFO: [identify] ID_VIDEO_ID=0 > INFO: [identify] ID_FILENAME=dvd://1 > INFO: [identify] ID_DEMUXER=mpegps > INFO: [identify] ID_VIDEO_FORMAT=0x10000002 > INFO: [identify] ID_VIDEO_BITRATE=7500000 > INFO: [identify] ID_VIDEO_WIDTH=720 > INFO: [identify] ID_VIDEO_HEIGHT=576 > INFO: [identify] ID_VIDEO_FPS=25.000 > INFO: [identify] ID_VIDEO_ASPECT=0.0000 > INFO: [identify] ID_AUDIO_FORMAT=8192 > INFO: [identify] ID_AUDIO_BITRATE=0 > INFO: [identify] ID_AUDIO_RATE=0 > INFO: [identify] ID_AUDIO_NCH=0 > INFO: [identify] ID_LENGTH=7626.00 > INFO: [identify] ID_VIDEO_CODEC=mpeg12 > INFO: [identify] ID_AUDIO_BITRATE=384000 > INFO: [identify] ID_AUDIO_RATE=48000 > INFO: [identify] ID_AUDIO_NCH=2 > INFO: [identify] ID_AUDIO_CODEC=a52 > INFO: [identify] ID_VIDEO_ASPECT=1.7778 > INFO: [MPLAYERYUVOPT] dvd://1 -noframedrop -v -osdlevel 0 -vo > yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%9%movie.wav > INFO: [YUVSCALEROPT] -v 1 -n -O VCD > INFO: [MPEG2ENCOPT] -f 2 -b 1152 -V 46 -B 235 -4 2 -2 1 -R 2 -M 2 -v 1 -S > 800 -n -F -s -r 16 > INFO: [MPLEXOPT] -f 2 -V -b 46 -r 5504 > INFO: [VCDIMAGEROPT] -t vcd2 > INFO: [CDRDAOOPT] --driver generic-mmc --device 0,0,0 > INFO: [GROWISOFSOPT] -dvd-compat -Z /dev/cdrecorder -dvd-video > JOBEND: movie [2009-02-19 12:02:44] (0h0m2s) |