On Wed, 2010-10-20 at 20:28 +0100, Lukas Ruetz wrote: > Hello, Hi,
> I have a performance/sync problem when playing raw YUV or DV video. I've > invested many days now and can't find a solution. > The playback is fine with gstreamer alone (with glimagesink and VBLANK by the > graphics driver), but in clutter it's stuttering. > > The real strange thing is that it sometimes plays without any problem, and > sometimes not. I've made this experience on different systems. These systems > always have < 30% CPU load and 2-4 cores. > > This behaviour is also reproduceable with the example video-player from > clutter-gst so the problem isn't in my code. Some runs are ok, some not. > > Could this be a sync problem between the two frameworks - gstreamer with it's > framerate - clutter with the VBLANK (which is turend on)? > Clutter reports FPS between 25-26 - does this mean it's a bit too fast or is > this measurement just not so exact? > > The source (in this case a DV video in PAL size) was once decoded to YUY2 > (and then to I420) but also to RGB - with no difference. > > Any thoughts? So, I've grabbed a USB webcam and hacked tests/test-yuv-upload.c to use v4l2src and I can't reproduce that behaviour at all. Every time I launch the test, it works (and I test it with the same clutter/clutter-gst versions as you). Have you tried to add a queue to decouple a bit the pipeline? -- Damien _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
