[MPlayer-users] Problem searching in dvds

Pepe rvm3000 at ya.com
Sat Dec 9 01:59:41 CET 2006


An annoying problem I have with mplayer, at least with the dvds that my 
dvd-recorder creates.

Looking for a time in a title seems to be very difficult. Skipping 10 seconds 
seems to work well. Skipping one minute seems to work well just at the 
beginning, then I don't know where I am, the OSD indicates a lower time for 
the current time, I think mplayer gives the current time inside the current 
chapter, not the current time in the whole title.

Skipping 10 minutes in fact skips a lot more. Pressing pgup 3 times and I'm 
out of the movie.

-ss only works for the first 3 minutes and 40 secs. -ss 3:41 closes mplayer.

Is this a known problem?

This is what it says with mplayer dvd://1 -v:

MPlayer 1.0rc1-3.3.4 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
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/ricardo/.mplayer/codecs.conf'
Reading /home/ricardo/.mplayer/codecs.conf: Can't open 
'/home/ricardo/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No 
such file or directory
Using built-in default codecs.conf.
CommandLine: 'dvd://1' '-v'
init_freetype
/home/ricardo/.fonts/arialbd.ttf doesn't look like a bitmap font description, 
ignoring.
Cannot load bitmap font: /home/ricardo/.fonts/arialbd.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/ricardo/.mplayer/input.conf'
Can't open input config file /home/ricardo/.mplayer/input.conf: No such file 
ordirectory
Can't open input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support. You will not be able to use your remote control.
get_path('1.conf') -> '/home/ricardo/.mplayer/1.conf'

Playing dvd://1.
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
URL: dvd://1
Reading disc structure, please wait...
*** Zero check failed in ifo_read.c:324
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
There are 1 titles on this DVD.
There are 11 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0
DVD start cell: 0  pack: 0x0-0x1A977
DVD start=0 end=1208597
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A977
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
SUB: opened iconv descriptor.
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
Searching demuxer type for filename dvd://1 ext: (null)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A977
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A977
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 67779, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x21  cell=0  packs: 0x0-0x1A977
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x1A977
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 audio stream: 128
==> Found video stream: 0
DVD Seek! lba=0x93810  cell=5  packs: 0x8793B-0xA48C7
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x127020  cell=10  packs: 0x119575-0x127115
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-0x1A977
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8040.0 kbps (1005.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.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
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00083e).
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: screenshot 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 screenshot 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))
==========================================================================
==========================================================================
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: 2.0 (stereo)  48000 Hz  256.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->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
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...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: screenshot vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from yuv420p to bgr24 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: using MMX2 YV12->BGR24 Converter
SwScaler: 720x576 -> 768x576
REQ: flags=0x437  req=0x0
VO: [xv] 720x576 => 768x576 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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 62 for hw scaling
[xv] dx: 0 dy: 0 dw: 768 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [screenshot] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 
bytes
[xv] dx: 0 dy: 0 dw: 768 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [screenshot] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 
bytes
Unicode font: 1418 glyphs.096 ct:  0.004   2/  2 ??% ??% ??,?% 0 0
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [screenshot] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 
bytes
Uninit audio filters... 0.008 ct:  0.062  40/ 40 41%  4% 11.1% 0 0
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: libmpeg2
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)

If I use -ss 3:41, mplayer closes with:

DVD Seek! lba=0x1A882  cell=0  packs: 0x0-0x1A977  % ??% ??,?% 0 0
DVD next cell: 1  pack: 0x1A978-0x35B33
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x2D57E06  cell=10  packs: 0x119575-0x127115
stream_seek: WARNING! Can't seek to 0x16ABF03000 !
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1   0.0 A-V:  0.000 ct:  0.000   1/  1 ??% ??% ??,?% 0 0

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

Exiting... (End of file)

The funny thing is that -ss 5:00 works but in fact jumps 19 minutes, although 
OSD says 5:00.

I tried with xine, and there's no problem at all searching at any place of the 
movie.

-- 
Pepe



More information about the MPlayer-users mailing list