[MPlayer-users] extracting subtitles from .vob
Matt Zagrabelny
mzagrabe at d.umn.edu
Tue Jan 20 21:00:06 CET 2015
Greetings,
I've ripped a few dvds into .vobs using mplayer:
mplayer dvd://1 -dumpstream -dumpfile movie.vob
and subtitles are there when I view movie.vob.
Now I'd like to extract the subtitles for OCR.
I've tried mencoder:
mencoder movie.vob -oac copy -ovc copy -vobsubout movie_subs -o /dev/null
But something isn't quite right:
mencoder movie.vob -oac copy -ovc copy -vobsubout movie_subs -o /dev/null
MPlayer SVN-r37342 (C) 2000-2013 MPlayer Team
success: format: 0 data: 0x0 - 0x640ec800
libavformat version 56.16.101 (internal)
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.970 ftime:=0.0334
videocodec: framecopy (720x480 24bpp fourcc=10000002)
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos: 3.9s 117f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [4995:0]
1 duplicate frame(s)!
Pos: 4.1s 122f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [4752:0]
.
.
.
.
1 duplicate frame(s)!
Pos: 175.9s 4241f ( 2%) 0.00fps Trem: 0min 4748mb A-V:0.000 [6318:0]
Too many audio packets in the buffer: (4096 in 8257532 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Video stream: 6317.114 kbit/s (789639 B/s) size: 138904701 bytes
175.909 secs 4241 frames
Any suggestions for what to do? I'd like to be able to extract the
subtitles without the IFO file.
Thanks for any hints!
-m
More information about the MPlayer-users
mailing list