[maemo-developers] N800 & Video playback

From: Daniel Stone daniel.stone at nokia.com
Date: Fri May 4 10:49:43 EEST 2007
On Thu, May 03, 2007 at 11:10:32PM +0300, ext Siarhei Siamashka wrote:
> On Thursday 03 May 2007 08:48, Siarhei Siamashka wrote:
> > The only thing which is unclear here is that Hailstorm does not need to
> > downscale video in this situation. The bug can be reproduced with 512x288
> > video which just needs upscaling to 800x450. Also even standard
> > Nokia_N800.avi video with proper aspect ratio causes a huge
> > performance regression and tearing.
> >
> > Please give this #1281 issue another look. It looks like a bug in xserver,
> > but not a hardware limitation. I can probably try to workaround it by
> > requesting not 512x288 buffer from Xv, but something like 512x308, use
> > only 512x288 part of it and artificially add black bands above and below.
> > After that, Xv can be asked to expand it to 800x480 to get expected result
> > But if it is a bug in xserver, it would be better to get it fixed,
> > preferably before the next firmware update :)
> Well, found what's the matter and added explanation at bugzilla:
> https://maemo.org/bugzilla/show_bug.cgi?id=1281
> The workaround can be easily added to MPlayer, so that it will 
> never call XvShmPutImage with top left image corner at an odd line. 
> I'm going to release an updated MPlayer package (maybe even 
> a bit later today), it is really fast on N800 with the optimized xserver :)

Aha, that will indeed cause a fallback (x, y, width and height should
all be aligned to 4px).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070504/11225951/attachment.pgp 
More information about the maemo-developers mailing list