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

Attachment: signature.asc
Description: Digital signature

Reply via email to