Hi, With the pipeline below it really seems to take all CPU and is just as slow as with Clutter. I suppose videoscale adds some extra overhead too (besides colorspace conversion) that isn't done in software when using ClutterGstVideoSink, but maybe the colorspace conversion dominates cpu wise?
CLUTTER_FEATURE_SHADERS_GLSL is not supported. However there is CLUTTER_FEATURE_TEXTURE_YUV. Does that relate to video colorspace conversions at all? -- Tero On Thu, Jan 8, 2009 at 12:23, Bastian Winkler <[email protected]> wrote: > Hi Tero, > > the problem might be caused by the expensive colorspace conversion from > YUV to RGB done in software. If you GPU supports shaders (check > CLUTTER_FEATURE_SHADERS_GLSL for this) you can use them to do the > colorspace conversion by setting the :use-shaders property on your > ClutterGstVideoSink. This requires at least clutter-0.8 and > clutter-gst-0.8 > > You can also test the cost of the software conversion by running > > gst-launch filesrc location=<your file> ! decodebin ! ffmpegcolorspace ! > videoscale ! ximagesink > > (ximagesink also only supports rgb) > > > so long > > :wq buz > > > On Thu, Jan 08, 2009 at 11:27:48AM +0200, Tero Saarni wrote: >> I'm having problems with very slow video playback using >> ClutterGstVideoTexture with standard definition 720*576 @ 25fps mpeg2 >> video. The CPU load is very high and video frames are played in slow >> motion. When playing with VLC and xvideo output the same video plays >> without problems with minimal CPU load. >> >> Any ideas what could be wrong or tips on how I could troubleshoot the >> problem? >> >> I'm using Clutter release 0.6 packages. The system has 800 MHz >> processor and Intel GMA950 graphics. >> >> Thanks, >> >> -- >> Tero >> -- >> To unsubscribe send a mail to [email protected] >> > > -- > GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkll1AYACgkQjDX9LmkIe4KOsACgnLHHI0kKXvb5gy8+batADaV4 > a4AAoLp8Rqz3R670u+5boHfPdMRUHbis > =fOVJ > -----END PGP SIGNATURE----- > > -- To unsubscribe send a mail to [email protected]
