[MPlayer-users] can't seek passed a certain point in dvd faceoff

c0ldshadow at deeptide.com c0ldshadow at deeptide.com
Tue Jul 11 06:31:26 CEST 2006


nk215 on #mplayer in irc.freenode.net fixed the problem. he sent an
mplayer.exe and mencoder.exe that he compiled and it fixed the problem.

here is our conversation where he explains what the problem was ( i have
attached the patched types.h file)

<c0ldshadow> like did you compile with different optimization settings or
something to fix the problem?
<nk215> nope... the problem is inside the environment (types.h in
MinGW/include/sys)
<nk215> sascha sommer (the win32 maintainer) told me about that problem
(long time ago!)
<nk215> he sent me a modified types.h file and i use that to build my
mplayer/menocder binaries
<nk215> ... i do not know why he did not used that file when building the
official mplayer-1.0pre8 for win32
<c0ldshadow> thanks a ton for your help, do you mind if i copy and paste
your explanation to the mailing list?
<nk215> in fact, i was able to notice the problem because a mplayer-dev
for win32 (built by sascha) was behaving correctly while another random
build was not
<nk215> then i asked him why the difference and he told me about that
types.h file :)



---------------------------------

first off i would like to say i have a great amount of respect for the
mplayer dev team. i use mplayer and mencoder for making avi files and the
software has been very helpful to me. i hope that i am able to help out
with this bug report. if you all want some additional information or have
questions please let me know.

recently i have encountered some problems while trying to play the dvd,
faceoff. i am using winxp sp2 and the experiencing the same problems in
both pre7 and pre8. i have not tried anything before pre7. from the
command line i am using:

mplayer -dvd-device E:\ dvd://1

the dvd starts to play normally. i cannot seek past 7 minutes and 30
seconds into the dvd, however. if i let the movie play normally, it plays
past 7:30. but once i am past 7:30 and i try to seek forward, the movie
restarts at the very beginning. if i do pageup or pagedown the movie
restarts.

someone told me to try adding the -forceidx option but this didn't help.

i highly doubt the dvd has a problem, because i am able to play it fine in
win dvd 4. i actually exhanged the dvd but even after this i'm still
having the same problems with mplayer.

i use the following options with mencoder to make avi files of all my
favorite dvds (obviously i change the crop and scale settings though).

mencoder -alang en -sws 2 dvd://1 -dvd-device E:\ -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:vbitrate=1024:vpass=1:autoaspect:trell:qprd:cbp:mv0:v4mv
-vf crop=720:368:0:54,scale=720:-10 -oac lavc -lavcopts
acodec=ac3:abitrate=224 -o faceoff.avi
mencoder -alang en -sws 2 dvd://1 -dvd-device E:\ -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:vbitrate=1024:vpass=2:autoaspect:trell:qprd:cbp:mv0:v4mv
-vf crop=720:368:0:54,scale=720:-10 -oac lavc -lavcopts
acodec=ac3:abitrate=224 -o faceoff.avi

when i tried using these commands for faceoff, after about 24 hours i had
an output file around 2.5 gigabytes, and progress was 0%, so i cancelled
the operation. i tried the same commands again and had the same problems.

here is the output i get when i play the movie:

C:\unzipped\mplayer>mplayer -dvd-device E:\ dvd://1
MPlayer 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU:    Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (Family: 15, Model:
2, Step
ping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf

Playing dvd://1.
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 41 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [directx] 720x480 => 854x480 Planar YV12

demux_mpg: 24000/1001fps progressive NTSC content detected, switching
framerate.




maybe i am just doing something stupid or there is an easy solution to the
problems i am having. i figured this could be a bug though.

hope this information is helpful and that if this is indeed a bug i can
help provide the necessary information to fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: types.zip
Type: application/zip
Size: 766 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060711/c9043659/attachment.zip>


More information about the MPlayer-users mailing list