[MPlayer-users] Subtitles "scattered" across languages if DVD has many slangs.

Marcin 'Rambo' Roguski rambo at id.uw.edu.pl
Thu Apr 13 17:02:03 CEST 2006


Hi,

I have little nasty problems with some of my DVDs (most notably 
Star Trek collector's editions- EN/EUxxxxx, and MIB- 24510POS-LE)

The problem is that if DVD has many subtitle languages, mplayer
gets confused and either doesn't display them, or displays them in 
wrong language slots. The worst case is  Star Trek Insurrection disc 1
where subtitles are thrown apart and you get some of english, finnish, 
commentary english etc. 

Latest CVS (just downloaded fresh to be sure).
Here's the verbose output (MIB played)
-------------- next part --------------
MPlayer dev-CVS-060413-16:25-3.3.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Xeon Nocona (Family: 15, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.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.
CommandLine: '-v' 'dvd://1'
init_freetype
font: can't open file: ~/.mplayer/subfont.ttf
Cannot load font: ~/.mplayer/subfont.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 1 binds
get_path('1.conf') -> '/root/.mplayer/1.conf'
Playing dvd://1.
get_path('sub/') -> '/root/.mplayer/sub/'
URL: dvd://1
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 27 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: en aid: 129
[open] audio stream: 2 audio format: ac3 (5.1) language: fr aid: 130
[open] audio stream: 3 audio format: ac3 (5.1) language: de aid: 131
[open] audio stream: 4 audio format: ac3 (stereo) language: en aid: 132
[open] audio stream: 5 audio format: ac3 (stereo) language: en aid: 133
[open] number of audio channels on disk: 6.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] subtitle ( sid ): 2 language: de
[open] subtitle ( sid ): 3 language: nl
[open] subtitle ( sid ): 4 language: pl
[open] subtitle ( sid ): 5 language: ar
[open] subtitle ( sid ): 6 language: bg
[open] subtitle ( sid ): 7 language: cs
[open] subtitle ( sid ): 8 language: da
[open] subtitle ( sid ): 9 language: fi
[open] subtitle ( sid ): 10 language: el
[open] subtitle ( sid ): 11 language: iw
[open] subtitle ( sid ): 12 language: hi
[open] subtitle ( sid ): 13 language: hu
[open] subtitle ( sid ): 14 language: is
[open] subtitle ( sid ): 15 language: no
[open] subtitle ( sid ): 16 language: sv
[open] subtitle ( sid ): 17 language: tr
[open] subtitle ( sid ): 18 language: fr
[open] subtitle ( sid ): 19 language: de
[open] subtitle ( sid ): 20 language: nl
[open] subtitle ( sid ): 21 language: pl
[open] subtitle ( sid ): 22 language: en
[open] subtitle ( sid ): 23 language: fr
[open] subtitle ( sid ): 24 language: de
[open] subtitle ( sid ): 25 language: nl
[open] subtitle ( sid ): 26 language: pl
[open] number of subtitles on disk: 27
DVD start cell: 0  pack: 0x0-0x60B  
DVD start=0 end=2229702  
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author: 
STREAM: Comment: 
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72246, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x23  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x110268  cell=25  packs: 0x10F948-0x11122C  
Angle-seek synced by cell/vob IDN search!  
==> Found audio stream: 131
==> Found audio stream: 130
==> Found audio stream: 129
==> Found subtitle: 23
==> Found audio stream: 133
==> Found audio stream: 132
==> Found audio stream: 128
DVD Seek! lba=0x2204D1  cell=47  packs: 0x1FBA5E-0x2205C6  
Angle-seek synced by cell/vob IDN search!  
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x60B  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
File not found: '/root/.mplayer/default.sub'
Failed to open /root/.mplayer/default.sub
==========================================================================
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.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp 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 pp vo
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
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))
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
AutoQ: setting quality to 6.
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
==> Found subtitle: 17
==> Found subtitle: 16
==> Found subtitle: 15
==> Found subtitle: 14
==> Found subtitle: 13
==> Found subtitle: 12
==> Found subtitle: 11
==> Found subtitle: 10
==> Found subtitle: 9
==> Found subtitle: 6
==> Found subtitle: 8
==> Found subtitle: 4
==> Found subtitle: 7
==> Found subtitle: 5
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=5,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
VO: [xv] 720x576 => 1024x576 Planar YV12  [fs] [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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 177 for hw scaling
[xv-fs] dx: 0 dy: 128 dw: 1280 dh: 768
[xv] dx: 0 dy: 128 dw: 1280 dh: 768
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dx: 0 dy: 128 dw: 1280 dh: 768
*** [vo] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 659 glyphs.
[xv] dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dx: 0 dy: 128 dw: 1280 dh: 768
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
==> Found subtitle: 25
==> Found subtitle: 22
--- END OF CELL !!! ---
DVD next cell: 1  pack: 0x60C-0x6DAA  
==> Found subtitle: 27
==> Found subtitle: 24
==> Found subtitle: 26
==> Found subtitle: 20
==> Found subtitle: 21
==> Found subtitle: 19
==> Found subtitle: 18
DVD Seek! lba=0x9F93  cell=2  packs: 0x6DAB-0x12D56  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x77E7  cell=2  packs: 0x6DAB-0x12D56  
Angle-seek synced by cell/vob IDN search!  
Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: liba52
uninit video: libmpeg2
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list