[MPlayer-dev-eng] Fw: [mpeg2-dev] Re: Fusion of XvMC and OpenGL ?

Alex Beregszaszi alex at fsn.hu
Tue Aug 12 00:45:55 CEST 2003


Hi,

this may interest you, Ivan!

anyway, this needs usage of GLX Pbuffer, which mplayer is not using :( 

Begin forwarded message:

Date: Mon, 11 Aug 2003 23:08:30 +0200 (MEST)
From: Gernot Ziegler <gz at lysator.liu.se>
To: Mark Vojkovich <mvojkovi at XFree86.Org>
Cc: Frank Jargstorff <fjargstorff at nvidia.com>, Jens Schneider
<schneider at glhint.de>, Libmpeg2-devel at lists.sourceforge.net, Martin
Ecker <martin.ecker at liwest.at>
Subject: [mpeg2-dev] Re: Fusion of XvMC and OpenGL ?


Just ran some tests with mpeg2play on my Athlon XP 2400 with DDR133 and
a
GForceFX
 ./mpeg2play -f25 /mnt/video2/iso/Eurythmics_-_sex_crime.mpg
, a DVD-rez video (720x576), interlaced:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  Command
 2675 root      13   0  4172 4172 2660 S  1.0  0.8   0:00.52 sawfish
 2638 root      17  -1  286m  14m 4556 R  0.7  2.8   0:06.30 X

*gulp* maaaan, this thing is LIGHTNING FAST !

And at max speed:
[root at cm172-83 mpeg2play_gl]# ./mpeg2play
/mnt/video2/iso/Eurythmics_-_sex_crime.mpg -f25
Visual 0x26
A:R:G:B = 0:8:8:8
depth = 0, stencil = 0
1024 x 1024 texture
2.69 seconds, 307 frames, 114.13 fps

HUGA !

Thanks a lot, Mark, this is the ultimate solution regarding Video
playback
on OpenGL surfaces, at least for the moment :)
If you need me to test things more, I can always do a bit besides and
then
get into it seriously after September 15th, again :)

Servus,
  Gernot

-- 
  There are new NVIDIA Linux drivers (4496).  These support
XvMCCopySurfaceToGLXPbuffer.  There is a test app at:

  http://www.xfree86.org/~mvojkovi/mpeg2play_gl.tar.gz

 It is a simple quad that you can rotate with the mouse.
It will work with any GeForce4 or GeForceFX, but the GeForce4 Ti
products do not support IDCT acceleration so GeForce4 MX or
GeForceFX are recommended.

                        Mark.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Libmpeg2-devel mailing list
Libmpeg2-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel


-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list