[MPlayer-users] Auto-scale wish

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Mar 16 13:54:24 CET 2007


On Friday, 16 March 2007 at 13:23, Alberto Gonzalez wrote:
> Stephen Mollett <molletts at yahoo.com> wrote:
> >There's an option in the xorg i810 driver which fixes HD playback on the Intel 
> >chipsets - have a look at man i810 and search for the LinearAlloc option. I 
> >use it on my i855GM-based laptop with the suggested value of 6144 and I can 
> >play HD movies fine with Xv.
> 
> Yes, I know about that option, but I don't have problems playing HD
> videos as long as they don't exceed my (hardware?) limit of 1024x1080. All
> videos that fit in that size play just fine without modifying xorg.conf,
> and those exceeding the limit won't play whatever option I use in xorg.conf
> (LinearAlloc, VideoRam, CacheLines, etc...) The only way to play them with
> Xv is to rescale them to fit into my limit.

This limit could be artificial, like in trident driver (where it was
hardcoded at 1024x1024). Have you tried switching to "intel" X driver?
Looking at the driver sources could also reveal something.

> To see your own limit, try:
> 
> xvinfo | grep max 
> 
> Then try to play a video that exceeds that limit in either width or
> height and you'll see it's not possible without rescaling.
> 
> Mplayer "knows" this fact. So it quits. That's my only concern. Why quit
> instead of automatically rescaling?

Because nobody has written code to do otherwise. Feel free to send a patch
that adds an option to do this.

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list