[MPlayer-users] subtitle problems

MJH mjhlists-mplayer at liminalflux.net
Fri Mar 11 02:48:44 CET 2005


On Wednesday 09 March 2005 09:08 pm, Robert Henney wrote:

> I encounter this with a few of my DVD's, although it's particularly
> bad on this "Ikiru" DVD with subtitles frequently failing to appear
> unless a seek is made to a position just before it should normally
> appear.

Having investigated further, this is what I'm seeing. No subtitles, but if I 
skip forward at any point, they appear thereafter.


On Thursday 10 March 2005 02:38 pm, Robert Henney wrote:

> Can you run mplayer with the "-v" option on one of those where no subtitles
> at all are occuring, and then paste the output to this list.  There should
> be some telltale clues such as which subs it thinks are available and which
> ones it thinks it's being told to use, etc.

Appended.

> > > Or are you saying that on some DVD's not every subtitle will appear but
> > > some will?
> >
> > I have one where only some of them seem to, but I didn't look at the
> > subtitles on that one before running into this issue (as it's in my
> > native language), so I don't know if it's just badly subtitled or if it's
> > a real problem with that DVD.
>
> if this particular disc is encountering the same problems I've seen on a
> few of mine (which I believe is unrelated to the earlier problem), then
> this *might* be a workaround:
> (adjust as needed for the particular disc)
>
>  mencoder -slang en -vobsubout temp -nosound -ovc copy -o /dev/null dvd://1
>
> that will put the subs into a seperate file.  then, try playing the
> same movie as you normally would but include "-vobsub temp" in the
> mplayer command line along with your regular parameters.  (probably
> remove any "-sid" or "-slang" options though; mplayer should default
> to using the explicitly given external subs file on its own)

That doesn't work either. mencoder produces the subtitle files, but mplayer 
doesn't display anything. What's more, skipping forward doesn't display the 
subtitles either when reading from the file.








log (there's a DVDSeek near the end, before that no subtitles, after that 
subtitles were displayed correctly, the "..." are trims of the progress lines 
as I assume several thousand of those don't help at all):



MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.


77 audio & 188 video codecs
CommandLine:init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/mjh/.mplayer/input.conf'
Can't open input config file /home/mjh/.mplayer/input.conf: No such file or 
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
get_path('4.conf') -> '/home/mjh/.mplayer/4.conf'
Playing dvd://4.
get_path('DVDKeys') -> '/home/mjh/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 6 titles on this DVD.
There are 18 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: en aid: 129
[open] audio stream: 2 audio format: ac3 (5.1) language: ja aid: 130
[open] audio stream: 3 audio format: ac3 (stereo) language: ja aid: 131
[open] number of audio channels on disk: 4.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: en
[open] number of subtitles on disk: 2
DVD start cell: 0  pack: 0x0-0x9706  
DVD start=0 end=1904903  
Selected DVD audio channel: 130 language: ja
Selected DVD subtitle channel: 0 language: en
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    
Cache fill:  5.37% (450560 bytes)    
Cache 
fill: 19.43% (1630208 bytes)    Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://4 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67285, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
dvd_next_cell: next1=0x1  
dvd_next_cell: next2=0x1  
dvd_next_cell: next3=0x2  
dvd_next_cell: next1=0x2  
dvd_next_cell: next2=0x2  
dvd_next_cell: next3=0x3  
dvd_next_cell: next1=0x3  
dvd_next_cell: next2=0x3  
dvd_next_cell: next3=0x4  
dvd_next_cell: next1=0x4  
dvd_next_cell: next2=0x4  
dvd_next_cell: next3=0x5  
dvd_next_cell: next1=0x5  
dvd_next_cell: next2=0x5  
dvd_next_cell: next3=0x6  
dvd_next_cell: next1=0x6  
dvd_next_cell: next2=0x6  
dvd_next_cell: next3=0x7  
dvd_next_cell: next1=0x7  
dvd_next_cell: next2=0x7  
dvd_next_cell: next3=0x8  
dvd_next_cell: next1=0x8  
dvd_next_cell: next2=0x8  
dvd_next_cell: next3=0x9  
DVD Seek! lba=0xE8809  cell=9  packs: 0xD729E-0x112A16  
Angle-seek synced by cell/vob IDN search!  
==> Found audio stream: 129
==> Found audio stream: 131
==> Found audio stream: 128
==> Found audio stream: 130
==> Found subtitle: 0
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
dvd_next_cell: next1=0x1  
dvd_next_cell: next2=0x1  
dvd_next_cell: next3=0x2  
dvd_next_cell: next1=0x2  
dvd_next_cell: next2=0x2  
dvd_next_cell: next3=0x3  
dvd_next_cell: next1=0x3  
dvd_next_cell: next2=0x3  
dvd_next_cell: next3=0x4  
dvd_next_cell: next1=0x4  
dvd_next_cell: next2=0x4  
dvd_next_cell: next3=0x5  
dvd_next_cell: next1=0x5  
dvd_next_cell: next2=0x5  
dvd_next_cell: next3=0x6  
dvd_next_cell: next1=0x6  
dvd_next_cell: next2=0x6  
dvd_next_cell: next3=0x7  
dvd_next_cell: next1=0x7  
dvd_next_cell: next2=0x7  
dvd_next_cell: next3=0x8  
dvd_next_cell: next1=0x8  
dvd_next_cell: next2=0x8  
dvd_next_cell: next3=0x9  
dvd_next_cell: next1=0x9  
dvd_next_cell: next2=0x9  
dvd_next_cell: next3=0xA  
dvd_next_cell: next1=0xA  
dvd_next_cell: next2=0xA  
dvd_next_cell: next3=0xB  
dvd_next_cell: next1=0xB  
dvd_next_cell: next2=0xB  
dvd_next_cell: next3=0xC  
dvd_next_cell: next1=0xC  
dvd_next_cell: next2=0xC  
dvd_next_cell: next3=0xD  
dvd_next_cell: next1=0xD  
dvd_next_cell: next2=0xD  
dvd_next_cell: next3=0xE  
dvd_next_cell: next1=0xE  
dvd_next_cell: next2=0xE  
dvd_next_cell: next3=0xF  
dvd_next_cell: next1=0xF  
dvd_next_cell: next2=0xF  
dvd_next_cell: next3=0x10  
dvd_next_cell: next1=0x10  
dvd_next_cell: next2=0x10  
dvd_next_cell: next3=0x11  
DVD Seek! lba=0x1D1012  cell=17  packs: 0x1D0E04-0x1D1107  
Angle-seek synced by cell/vob IDN search!  
--- END OF CELL !!! ---
dvd_next_cell: next1=0x11  
dvd_next_cell: next2=0x11  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x9706  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  7700.0 kbps (962.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/mjh/.mplayer/sub/'
get_path('default.sub') -> '/home/mjh/.mplayer/default.sub'
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X 
atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: compiled for ALSA-1.0.8rc1
alsa-init: setup for 1/2 channel(s)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
Starting playback...
alsa-space: free space = 65536, prepared --
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=4,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 Planar YV12  [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 69 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 576
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 720 dh: 576
A:   0.6 V:   0.0 A-V:  0.558 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 22%
A:   0.7 V:   0.1 A-V:  0.676 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 21%
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
A:   0.8 V:   0.3 A-V:  0.498 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 21%
A:   0.8 V:   0.3 A-V:  0.529 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 22%
A:   0.8 V:   0.3 A-V:  0.495 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 22%
A:   0.8 V:   0.4 A-V:  0.473 ct:  0.017   6/  6 ??% ??% ??,?% 6 0 23%
A:   0.8 V:   0.4 A-V:  0.440 ct:  0.020   7/  7 ??% ??% ??,?% 7 0 23%
A:   0.9 V:   0.4 A-V:  0.418 ct:  0.023   8/  8 ??% ??% ??,?% 8 0 23%
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Unicode font: 255 glyphs.
A:   0.9 V:   0.5 A-V:  0.385 ct:  0.027   9/  9 ??% ??% ??,?% 8 0 23%
A:   1.1 V:   0.5 A-V:  0.557 ct:  0.030  10/ 10 ??% ??% ??,?% 9 0 30%                                                      
....
A:  20.6 V:  20.6 A-V:  0.007 ct:  0.126 554/547 34%  8%  3.1% 30 0 49%
[xv] dx: 0 dy: 0 dw: 720 dh: 576
A:  20.6 V:  20.6 A-V: -0.002 ct:  0.126 555/548 34%  8%  3.1% 30 0 48%
A:  20.7 V:  20.7 A-V:  0.075 ct:  0.130 556/549 34%  8%  3.1% 30 0 48%
A:  20.7 V:  20.7 A-V:  0.045 ct:  0.135 557/550 34%  8%  3.1% 30 0 48%
A:  20.8 V:  20.7 A-V:  0.014 ct:  0.136 558/551 34%  8%  3.1% 30 0 49%
A:  20.8 V:  20.8 A-V: -0.006 ct:  0.135 559/552 34%  8%  3.1% 30 0 49%                                                     
A:  20.9 V:  20.8 A-V:  0.038 ct:  0.139 560/553 34%  8%  3.1% 30 0 49%                                                     
[xv] dx: 0 dy: 0 dw: 720 dh: 576
A:  20.9 V:  20.9 A-V: -0.003 ct:  0.139 561/554 34%  8%  3.1% 30 0 49%                                                     
....
A:  76.8 V:  76.7 A-V:  0.011 ct:  0.609 2058/2033 30%  7%  2.7% 35 0 49%
DVD Seek! lba=0x7C6A  cell=0  packs: 0x0-0x9706  
Angle-seek synced by cell/vob IDN search!  
alsa-space: free space = 65536, prepared --
A:  88.1 V:  87.8 A-V:  0.296 ct:  0.030 2059/2034 ??% ??% ??,?% 1 0 0%
......
A: 100.3 V: 100.3 A-V: -0.021 ct:  0.117 2364/2339 37%  5%  3.9% 13 0 49%                                                   

--- END OF CELL !!! ---
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
DVD next cell: 1  pack: 0x9707-0x12F7A  
A: 100.4 V: 100.4 A-V:  0.002 ct:  0.117 2365/2340 37%  5%  4.0% 13 0 49%
A: 100.4 V: 100.4 A-V: -0.018 ct:  0.115 2366/2341 37%  5%  4.0% 13 0 49%
A: 100.5 V: 100.5 A-V:  0.016 ct:  0.117 2367/2342 37%  5%  4.0% 13 0 48%                                                   




More information about the MPlayer-users mailing list