[MPlayer-users] aspect ratio options ignored

Frederik Eaton frederik at a5.repetae.net
Tue Apr 18 23:37:50 CEST 2006


On Tue, Apr 18, 2006 at 10:02:15AM -0400, Giacomo Comes wrote:
> On Mon, Apr 17, 2006 at 11:47:08PM +0100, Frederik Eaton wrote:
> > Hi,
> > 
> > I'm trying to watch a DVD and the display aspect ratio is wrong. I've
> > tried to change it with -x, -y, -xy, -aspect, -vf aspect, etc., and
> > none of these have any effect. Here is the command:
> > 
> > mplayer dvd://10 /dev/dvd -alang ja -slang en -zoom -aspect 16:9 >& mplayer.out
> 
> 1) this command is wrong. After dvd://10 there is /dev/dvd that doesn't make sense.
> probably you mean to use -dvd-device /dev/dvd, but /dev/dvd is the default so it's not
> necessary.

Well, the DVD played fine, just at the wrong aspect. Are you saying
that the command I gave instructs mplayer to play two things in
succession, and that the aspect options only apply to the second?

I'm not sure which part of the man page has this information, it is
over 6200 lines long.

> 2) the option -aspect will not apply to dvd://10 but to /dev/dvd. See the man page.
>
> 3) you use the option -aspect 16/9 and later the output shows that the video
> is scaled to 1024x576 (16/9), so if it is wrong probably it is due to the
> fact that your monitor does not have 4/3 aspect ratio. Use the option -monitoraspect.

The monitor is 1024x768. 

Thanks,

Frederik

> > Below is the resulting output file.
> > 
> > Also, if I can make a request, I think it would be much easier to use
> > mplayer if it exited with an error upon encountering an option which
> > has no effect, rather than just ignoring it - I don't know how hard
> > that would be to do, though...
> > 
> > Thanks in advance,
> > 
> > Frederik
> > 
> > MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
> > CPU: Intel  (Family: 6, Stepping: 6)
> > Detected cache-line size is 64 bytes
> > CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> > Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> > 
> > 
> > Playing dvd://10.
> > Reading disc structure, please wait...
> > There are 10 titles on this DVD.
> > There are 12 chapters in this DVD title.
> > There are 1 angles in this DVD title.
> > DVD successfully opened.
> > MPEG-PS file format detected.
> > VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
> > ==========================================================================
> > Opening audio decoder: [liba52] AC3 decoding with liba52
> > Using SSE optimized IMDCT transform
> > AC3: 2.0 (stereo)  48000 Hz  224.0 kbit/s
> > Using MMX optimized resampler
> > AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
> > Selected audio codec: [a52] afm:liba52 (AC3-liba52)
> > ==========================================================================
> > vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
> > ==========================================================================
> > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> > VDec: vo config request - 720 x 576 (preferred csp: 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.
> > 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...
> > AF_pre: 48000Hz/2ch/s16le
> > AO: [oss] 48000Hz 2ch s16le (2 bps)
> > Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> > Starting playback...
> > VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
> > VDec: using Planar YV12 as output csp (no 0)
> > Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> > VO: [x11] 720x576 => 1024x576 Planar YV12 
> > SwScaler: using unscaled Planar YV12 -> BGRA special converter
> > ...
> > 
> > -- 
> > http://ofb.net/~frederik/
> > 
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> -- 
> 

-- 
http://ofb.net/~frederik/




More information about the MPlayer-users mailing list