[MPlayer-users] -vo quartz window size question

Steven M. Schultz sms at 2BSD.COM
Thu Apr 15 08:19:03 CEST 2004


Hi -

	When I use "-vo quartz" to play an HDTV capture the window is too
	small vertically.   Instead of 1920x1080 (which the 23" Cinema-HD
	display can handle) the size is only 1920x927 (according to the window 
	capture from 'Grab') - it's pretty obvious that the picture isn't tall
	enough.   If I use '-vo sdl' (which says "SDL: Using driver: Quartz") 
	then the playback window is 1920x1102.   Those sizes include the title 
	bar.  

	In either case the A/V sync is lost very quickly even though the cpus
	(2x 2GHz G5) are not maxed out.

	The output is below - I see that the video driver says something about
	"no suitable new res found" but right above that is the message saying
	it's using "1920x1080" (which isn't true - it's going to 1920x900).

mplayer -vo quartz -ao sdl x.mpg

MPlayer dev-CVS-040414-17:04-3.3 (C) 2000-2004 MPlayer Team

AltiVec found
CPU: PowerPC
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /Users/sms/.mplayer/config
Reading /Users/sms/.mplayer/codecs.conf: Can't open '/Users/sms/.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.
font: can't open file: /Users/sms/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /Users/sms/.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

Playing x.mpg.
MPEG-PS file format detected.
size restrictions for MP at ML or MPEG1 exceeded! (1920x1088)
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  22610.4 kbps (2826.3 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using AltiVec optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  384.0 kbit/s
Checking for AltiVec resampler : 0x00000002, 2
Using AltiVec optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x20), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (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.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Big-Endian)
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
AO: [sdl] 48000Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 1920 x 1088 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> RGB 32-bit special converter
VO: [quartz] 1920x1080 => 1920x1080 RGB 32-bit 
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
A:   0.3 V:   0.0 A-V:  0.303 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.2 A-V:  0.273 ct:  0.003    2/  2   0%  0%  0.0% 1 0 0%

size restrictions for MP at ML or MPEG1 exceeded! (1920x1088)

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use ALSA 0.5 or the OSS emulation of ALSA 0.9.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try -hardframedrop.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/devices.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

	So far I haven't found too many ways to play HD content (using 'vlc' is
	like watching a slide show ;)).

	Cheers,
	Steven Schultz




More information about the MPlayer-users mailing list