[MPlayer-users] DVD subtitles MIA

Robert Henney robh at rut.org
Thu Mar 10 03:08:09 CET 2005


Using the Criterion DVD of "Ikiru", and the command line of:

        mplayer -ss 02:08:00 -frames 450 -slang en dvd://2

in the resulting output there will be 3 different subtitle 
events that are displayed.  When the command line of

	mplayer -ss 02:07:40 -frames 1100 -slang en dvd://2

is used however, starting from a slightly earlier position, the 
2nd of those particular 3 subtitle events (the one which would 
be at 02:08:06) does not appear.

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.

Doesn't appear to be a new bug since my older builds from CVS about 
a year ago exibit the same.

If someone can jog my memory on how to dump a select portion of 
the raw dvd stream, I will gladly provide samples.  



MPlayer dev-CVS-050309-17:16-2.95.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (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 for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx


CommandLine: '-ss' '02:07:40' '-frames' '1100' '-slang' 'en' '-quiet' '-v' 'dvd://2'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('2.conf') -> '/home/robh/.mplayer/2.conf'
Playing dvd://2.
get_path('DVDKeys') -> '/home/robh/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 5 titles on this DVD.
There are 25 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (mono) language: ja aid: 128
[open] audio stream: 1 audio format: ac3 (mono) language: en aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0xD973  
DVD start=0 end=3805924  
Selected DVD subtitle channel: 0 language: en
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xD973  
Angle-seek synced by cell/vob IDN search!  
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://2 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xD973  
Angle-seek synced by cell/vob IDN search!  
AVS: avs_check_file - attempting to open file dvd://2
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 77914, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x26  cell=0  packs: 0x0-0xD973  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xD973  
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 (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_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 Seek! lba=0x1D08F7  cell=14  packs: 0x1CF98D-0x1E52DA  
Angle-seek synced by cell/vob IDN search!  
==> Found audio stream: 128
==> Found audio stream: 129
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_next_cell: next1=0x11  
dvd_next_cell: next2=0x11  
dvd_next_cell: next3=0x12  
dvd_next_cell: next1=0x12  
dvd_next_cell: next2=0x12  
dvd_next_cell: next3=0x13  
dvd_next_cell: next1=0x13  
dvd_next_cell: next2=0x13  
dvd_next_cell: next3=0x14  
dvd_next_cell: next1=0x14  
dvd_next_cell: next2=0x14  
dvd_next_cell: next3=0x15  
dvd_next_cell: next1=0x15  
dvd_next_cell: next2=0x15  
dvd_next_cell: next3=0x16  
dvd_next_cell: next1=0x16  
dvd_next_cell: next2=0x16  
dvd_next_cell: next3=0x17  
DVD Seek! lba=0x3A11EF  cell=23  packs: 0x3963B3-0x3A12D0  
Angle-seek synced by cell/vob IDN search!  
--- END OF CELL !!! ---
dvd_next_cell: next1=0x17  
dvd_next_cell: next2=0x17  
dvd_next_cell: next3=0x18  
DVD next cell: 24  pack: 0x3A12D1-0x3A12E4  
--- END OF CELL !!! ---
dvd_next_cell: next1=0x18  
dvd_next_cell: next2=0x18  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xD973  
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  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/robh/.mplayer/sub/'
get_path('default.sub') -> '/home/robh/.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.
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
tdfx_vid: Can't open /dev/tdfx_vid: No such device
tdfxfb: 8 bpp output is not supported
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] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
==========================================================================
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/s16le -> 48000Hz/2ch/s16le...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AF_pre: 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:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bps)
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...
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=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 Planar YV12 
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 42 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
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_next_cell: next1=0x11  
dvd_next_cell: next2=0x11  
dvd_next_cell: next3=0x12  
dvd_next_cell: next1=0x12  
dvd_next_cell: next2=0x12  
dvd_next_cell: next3=0x13  
dvd_next_cell: next1=0x13  
dvd_next_cell: next2=0x13  
dvd_next_cell: next3=0x14  
DVD Seek! lba=0x33CFB9  cell=20  packs: 0x28AC89-0x35A8A0  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x335B49  cell=20  packs: 0x28AC89-0x35A8A0  
Angle-seek synced by cell/vob IDN search!  
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
==> Found subtitle: 0

demux_mpg: 24fps progressive NTSC content detected, switching framerate.
EOF code: 1  

Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: liba52
uninit video: libmpeg2
vo: uninit ...

Exiting... (End of file)

-- 
robh




More information about the MPlayer-users mailing list