[Openchrome-users] openchrome and gstreamer

Marcus Priesch marcus
Fri May 30 04:46:10 PDT 2008


Hi Ondrej,

i do not know cheese exactly, but you asked for gstreamer supporting
xv ... and i can tell you that it works for me ... however i am not sure
what can be done in the wrong way .... try the following for gstreamer
xv capabilities ...

  $ gst-launch-0.10 videotestsrc ! xvimagesink   # use xv

  $ gst-launch-0.10 videotestsrc ! ximagesink    # use x11 shm

if the "xvimagesink" pipeline doesnt work for you, then xv and gstreamer
is not working at all on your board - then you should check what i
mentioned in my previous mail ... there shouldnt be the need to hack
applications for different hardware - thats all what gstreamer was
developed for ;) 

hope this helps,
marcus.

On Wed, 2008-05-28 at 10:59 +0200, Ondrej Wisniewski wrote:
> Hi Marcus,
> 
> can you please explain a little more what you did exactly with this 
> pipeline?
> 
> Xv out is working fine on my board, it just doesn't work with gstreamer 
> applications like cheese (http://www.gnome.org/projects/cheese).
> 
> It should work out of the box without hacking like it does with intel 
> graphics.
> 
> 
> Marcus Priesch wrote:
> > Hi Ondrej,
> > 
> > i have a me6000 (which also has cle266) running fine with gstreamer and
> > xv out ... 
> > 
> > i donno gstreamer-properties, i have hacked up a simple pipeline with
> > the python bindings and it really runs great ... sort of video overlay
> > from a bt878 capture card ... 
> > 
> > i would suggest to check the xorg log for 
> > 
> > 	(II) Loading extension XVideo
> > 
> > and something like ... 
> > 
> > 	(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
> > 	(II) VIA(0): Benchmarking video copy. Less is better.
> > 	(--) VIA(0): Timed   libc YUV420 copy... 14541007. Throughput: 24.5 MiB/s.
> > 	(--) VIA(0): Timed kernel YUV420 copy... 14450003. Throughput: 24.6 MiB/s.
> > 	(--) VIA(0): Ditch    SSE YUV420 copy... Not supported by CPU.
> > 	(--) VIA(0): Timed    MMX YUV420 copy... 3119115. Throughput: 114.1 MiB/s.
> > 	(--) VIA(0): Timed 3DNow! YUV420 copy... 10435735. Throughput: 34.1 MiB/s.
> > 	(--) VIA(0): Ditch   MMX2 YUV420 copy... Not supported by CPU.
> > 	(--) VIA(0): Using MMX YUV42X copy for video.
> > 
> > i'm not sure if you need drm and dri for it to work ... i have it 
> > 
> > if your xorg log tells you that you have Xv, try out a simple pipeline
> > with gst-launch ... 
> 
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
> 
> 





More information about the Openchrome-users mailing list