[MPlayer-users] convert/merge RealTime (.rt) subtitles

wim delvaux wim.delvaux at adaptiveplanet.com
Tue May 16 04:35:32 CEST 2006


On Monday 15 May 2006 22:35, EC wrote:
> wim delvaux <wim.delvaux at adaptiveplanet.com> | Mon, 15 May 2006
> 18:26:46 +0200
>
> > Thanx for the suggestions but It does not -seem- to work
> >
> > I get the following output
> >
> > Can't open joystick device /dev/input/js0 : No such file or directory
> > Can't init input joystick
> > Setting up LIRC support...
> > mplayer: could not connect to socket
> > mplayer: No such file or directory
> > Failed to open LIRC support.
> > You will not be able to use your remote control.
> > Playing WarGames.avi.
> > VobSub: Can't open IFO file
> > No matching VOBSUB language found!
> > AVI file format detected.
> > AVI_NI: No audio stream found -> no sound.
> > VIDEO:  [DX50]  720x544  24bpp  23.976 fps  759.3 kbps (92.7 kbyte/s)
> > Clip info:
> >  Software: VirtualDubMod 1.5.4.1 (build 2178/release)
> > SUB: Detected subtitle file format: subviewer
> > SUB: Read 1226 subtitles.
> > SUB: added subtitle file (1): ./WarGames.srt
> > SUB: Could not determine file format
> > Cannot load subtitles: ./WarGames.sub
> > =========================================================================
> >= Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> > Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
> > =========================================================================
> >= Audio: no sound
> > Starting playback...
> > VDec: vo config request - 720 x 544 (preferred csp: Planar YV12)
> > VDec: using Planar YV12 as output csp (no 0)
> > Movie-Aspect is 1.32:1 - prescaling to correct movie aspect.
> > VO: [null] 720x544 => 720x544 Planar YV12
> >
> > Thecommand I use is
> >
> > mplayer -vobsub WarGames -dumpmpsub WarGames.avi -benchmark -nosound
> > -vo null
>
> Oh, sorry.  I didn't read your original post carefully enough.  Vobsub
> is a bitmap-based format - not text.  I am not sure how to do what you
> are trying to do with these.  Although, I have found that there are not
> very many linux tools; you'd probably have better luck looking into
> using windows-based subtitle editors under wine.  Maybe one of the many
> programs listed here: http://www.doom9.org/software.htm can help you.


Well I do not know if it really ARE vobsub files.  When playing the movie 
mplayer says :

$ mplayer Paycheck.avi
MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing Paycheck.avi.
No matching VOBSUB language found!
Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [XVID]  688x432  24bpp  25.000 fps  800.0 kbps (97.7 kbyte/s)
Clip info:
 Software: MEncoder dev-CVS--3.3.5
SUB: Detected subtitle file format: rt
SUB: Read 0 subtitles.
Cannot load subtitles: ./Paycheck.sub
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 688 x 432 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.26:1 - prescaling to correct movie aspect.
VO: [x11] 688x432 => 978x432 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
New_Face failed. Maybe the font path is wrong. 1 ??% ??% ??,?% 1 0 97%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
alsa-uninit: pcm closed-0.014 ct:  0.032 2239/2239  9% 16%  6.2% 7 0 80%

Exiting... (Quit)

It claims the format is an 'rt' file.  However when I try with -sub 
Paycheck.rt it cannot open the file.  However when specifying vobsub, it can.

So I am completely confused on what subtitle format it is.

W




More information about the MPlayer-users mailing list