[MPlayer-users] mencoder subtitle extracting fails and mplayer doesn't play subtitles from DVD

HR haavroed at online.no
Tue Sep 23 14:34:56 CEST 2003


I have a DVD with 4 languages of (forced) nordic subtitles ("da" "fi"
"no" "sv"), and have a couple of problems with it;

1) Extracting sid 0 ("da") leaves the resulting *sub with zero size, and
the *idx only has the header parts (size, palette etc), as if there were
no subtitles at all for that sid. See mencoder output below.
2) Extracting any other sid gives a useable *idx/*sub pair, but in the
wrong language (they are all in the language indicated by sid 0, ie
"da")
3) There seems to be a problem with the apparantly healthy *sub's, in
that SubResync from the windoz vobsub package some times crashes with
these particular *sub's, so in sum, subtitle extraction on this DVD is
very, very broken

This is the first of my DVD's that have given me this problem - is the
DVD physically broken? Or could it be a manufacturer error? The
audio/video extracts/plays fine. I don't have a "real" DVD player, so I
can't check the subs that way :( The method for extracting the subs has
been successful for all my DVD's up until this one.

I also tried extracting sid 0 directly from the DVD, rather than from
the vob/ifo, just in case that has anything to do with it, but with the
same result.

On a second note, since mplayer 1.0 I'm no longer able to play
subtitles. Testing with my Kate&Leopold DVD, this works just fine:

/usr/local/bin/mplayer-0.90rc5-3.3.1 dvd://14 -sid 2 -vo sdl -framedrop
-chapter 9

whereas this shows no subs:

/usr/local/bin/mplayer-1.0pre1-3.3.1 dvd://14 -sid 2 -vo sdl -framedrop
-chapter 9

(nevermind the params, just jumping to some dialogue and allowing
framedrop cuz playing through x11 doesn't keep up)

HR

-------------------
Output for #1 above (which is the same as when the result is good,
AFAICT) (actually, there's no indication in the output that we're
extracting subs at all, is there?):

[haavard at slugger a]$ mencoder movie.vob -ifo movie.ifo -vobsubout subs
-sid 0 -oac copy -ovc copy -o /dev/null
MEncoder 1.0pre1-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/haavard/.mplayer/codecs.conf: Can't open
'/home/haavard/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/haavard/.mplayer/mencoder: No such file or
directory
success: format: 0  data: 0x0 - 0x98E29000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  6000.0 kbps (750.0
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
========================================================================
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
========================================================================
==
videocodec: framecopy (720x576 24bpp fourcc=10000002)
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=56000
sample=1)
Writing AVI header...
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:0.084 [0:448]
Skipping frame!
Pos:   2.2s     55f ( 0%)   0fps Trem:   0min   0mb  A-V:0.080
[5999:448]
Skipping frame!
Pos:7276.9s 181924f (100%) 553fps Trem:   0min 5594mb  A-V:0.034
[6000:448]
Writing AVI index...
Fixing AVI header...

Video stream: 6000.000 kbit/s  (749999 bps)  size: 1162692704 bytes
7276.880 secs  181924 frames

Audio stream:  448.000 kbit/s  (55999 bps)  size: 407509760 bytes
7276.960 secs




More information about the MPlayer-users mailing list