[MPlayer-users] DVD subtitles problem

Daniel Cizinsky listy at gebbeth.cz
Fri Aug 8 00:53:53 CEST 2008


Hi!

I can't see any subtitles when playing DVD, but I can extract them and play
than... Strange.

mplayer -v -sid 1 dvd://		# doesn't work

mencoder dvd:// -ifo movie.ifo -vobsubout subtitles -vobsuboutindex 1 \
-vobsuboutid cs -sid 1 -nosound -ovc copy -o /dev/null

mplayer -vobsub subtitles dvd://	# works o.k.

Isn't that strange?

What MPlayer says:

cici at tolk:~/temp/titulky$ mplayer -v -sid 1 dvd://       
MPlayer dev-SVN-r27424-4.2.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) X2 Dual Core Processor BE-2350 (Family: 15, Model: 107,
Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
get_path('codecs.conf') -> '/home/cici/.mplayer/codecs.conf'
Reading /home/cici/.mplayer/codecs.conf: Can't open
'/home/cici/.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.
Configuration: --enable-menu
CommandLine: '-v' '-sid' '1' 'dvd://'
init_freetype
get_path('font/font.desc') -> '/home/cici/.mplayer/font/font.desc'
font: can't open file: /home/cici/.mplayer/font/font.desc
Bitmap font /usr/local/share/mplayer/font/font.desc loaded successfully!
(206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/cici/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/cici/.mplayer/input.conf'
Can't open input config file /home/cici/.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('.conf') -> '/home/cici/.mplayer/.conf'

Playing dvd://.
get_path('sub/') -> '/home/cici/.mplayer/sub/'
URL: dvd://
Reading disc structure, please wait...
There are 12 titles on this DVD.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (5.1) language: cs aid: 128.
audio stream: 1 format: ac3 (5.1) language: en aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 1 language: cs
number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0x1A1AF  
DVD start=0 end=1651752  
STREAM: [null] dvd://
STREAM: Description: DVD stream
STREAM: Author: 
STREAM: Comment: 
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A1AF  
Angle-seek synced by cell/vob IDN search!  
system stream synced at 0xD (13)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 129
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  8800.0 kbps (1100.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
get_path('sub/') -> '/home/cici/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: 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
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
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)
==========================================================================
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
Trying every known audio driver...
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 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 audio stream: 128
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 2.370370
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: 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=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 131 for hw scaling
[xv] dx: 0 dy: 0 dw: 1024 dh: 576
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
[mpeg2video @ 0x8815ed0]ac-tex damaged at 37 7
[mpeg2video @ 0x8815ed0]Warning MVs not available
[mpeg2video @ 0x8815ed0]concealing 1305 DC, 1305 AC, 1305 MV errors
[xv] dx: 0 dy: 24 dw: 1024 dh: 576
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
==> Found subtitle: 0: -0.004 ct:  0.085 721/721  4%  0%  0.7% 1 0 
==> Found subtitle: 1
Uninit audio filters...-0.008 ct:  0.085 844/844  4%  0%  0.7% 1 0 
[libaf] Removing filter dummy 
Uninit audio: liba52
Uninit video: ffmpeg
vo: uninit ...

Exiting... (Quit)


When played with subtitles grabbed (and visible):

cici at tolk:~/temp/titulky$ mplayer -v -vobsub subtitles dvd://1
MPlayer dev-SVN-r27424-4.2.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) X2 Dual Core Processor BE-2350 (Family: 15, Model: 107,
Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
get_path('codecs.conf') -> '/home/cici/.mplayer/codecs.conf'
Reading /home/cici/.mplayer/codecs.conf: Can't open
'/home/cici/.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.
Configuration: --enable-menu
CommandLine: '-v' '-vobsub' 'subtitles' 'dvd://1'
init_freetype
get_path('font/font.desc') -> '/home/cici/.mplayer/font/font.desc'
font: can't open file: /home/cici/.mplayer/font/font.desc
Bitmap font /usr/local/share/mplayer/font/font.desc loaded successfully!
(206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/cici/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/cici/.mplayer/input.conf'
Can't open input config file /home/cici/.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('1.conf') -> '/home/cici/.mplayer/1.conf'

Playing dvd://1.
VobSub: Can't open IFO file
[vobsub] subtitle (vobsubid): 1 language cs
No matching VOBSUB language found!
URL: dvd://1
Reading disc structure, please wait...
There are 12 titles on this DVD.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (5.1) language: cs aid: 128.
audio stream: 1 format: ac3 (5.1) language: en aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 1 language: cs
number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0x1A1AF  
DVD start=0 end=1651752  
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author: 
STREAM: Comment: 
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A1AF  
Angle-seek synced by cell/vob IDN search!  
system stream synced at 0xD (13)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 129
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  8800.0 kbps (1100.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
get_path('sub/') -> '/home/cici/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: 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
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
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)
==========================================================================
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
Trying every known audio driver...
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 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 audio stream: 128
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 2.370370
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: 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=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 131 for hw scaling
[xv] dx: 0 dy: 0 dw: 1024 dh: 576
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
[mpeg2video @ 0x8815ed0]ac-tex damaged at 37 7
[mpeg2video @ 0x8815ed0]Warning MVs not available
[mpeg2video @ 0x8815ed0]concealing 1305 DC, 1305 AC, 1305 MV errors
[xv] dx: 0 dy: 24 dw: 1024 dh: 576
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
==> Found subtitle: 0: -0.005 ct:  0.085 721/721  4%  0%  0.7% 1 0 
==> Found subtitle: 1
Uninit audio filters...-0.013 ct:  0.084 816/816  4%  0%  0.7% 1 0 
[libaf] Removing filter dummy 
Uninit audio: liba52
Uninit video: ffmpeg
vo: uninit ...

Exiting... (Quit)

--
Daniel Cizinsky at mailing lists



More information about the MPlayer-users mailing list