Discussion:
mga_vid scaling image _down_ ?
Peter Zelezny
2005-03-07 08:29:18 UTC
Permalink
Hi All,

Is it possible for mga_vid to do down-scaling?

For example, I want to display a 1440x1088 stream on a 1280x1024
monitor, but the current version only gives up.

VO: [xmga] 1440x1088 => 1934x1088 Planar YV12
Error in mga_vid_config ioctl(): Bad address
Your mga_vid driver version is incompatible with this MPlayer version!

-Peter.
Attila Kinali
2005-03-07 08:35:22 UTC
Permalink
On Mon, 7 Mar 2005 19:29:18 +1100
Post by Peter Zelezny
For example, I want to display a 1440x1088 stream on a 1280x1024
monitor, but the current version only gives up.
VO: [xmga] 1440x1088 => 1934x1088 Planar YV12
Error in mga_vid_config ioctl(): Bad address
Your mga_vid driver version is incompatible with this MPlayer version!
Yes, your video resolution is too big.
You would have seen that, if you had checked dmesg.

Anyways, there is a check for res >1024*768 in mga_vid
line 703:

if(card->config.frame_size==0 || card->config.frame_size >1024*768*2)

Change that to something that fits you, but be aware
that i did _not_ check whether there is code that depends on
this maximal frame size.
So, don't blame me if you your machine crashes or
your card gets burned.


Attila Kinali
--
郷に入れば郷に従え
Loading...