mplayer or xine could use
XvMC to offload some video(mpeg2) decoding to GPU as following:
But I can’t find a way
to make gstreamer(totem) to use xvmc. I suspect gstreamer can’t
support XvMC, is it correct? BTW, if gstreamer (totem)
and mplayer both use codecs from ffmpeg, why gstreamer(totem) can’t use
xvmc? Thanks. ZHAO,
Halley (Aihua) Email: halley.zhao[hidden email] Tel: +86(21)61166476 iNet: 8821-6476 SSG/OTC/UMD 3W033 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, Aug 22, 2008 at 01:14:32PM +0800, Zhao, Halley wrote:
> mplayer or xine could use XvMC to offload some video(mpeg2) decoding to GPU as following: > > mplayer -vo xvmc -vc > > xine -V xvmc > > But I can't find a way to make gstreamer(totem) to use xvmc. > I suspect gstreamer can't support XvMC, is it correct? That's correct. There's really no point to using XvMC on a typical desktop machine, as the CPU has plenty of power to decode SD MPEG-2. As an aside, XvMC is a really horrible interface to use to build a decoder. I've written several gstreamer elements for hardware decoders before, creating one with XvMC would be like poking my eye repeatedly with a sharp stick. dave... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Great thanks for your information.
My device doesn't have a powerful CPU. When I look into gst-ffmpeg codecs, I found there is XvMC support for Mpeg II, but it is ignored in gstffmpegcodecmap.c. If I want to have a try for XvMC in gst, where should I make some changes? Totem? How big will the work load be? I assume the following task should be: 1> detect whether XvMC is enable or not from platform. 2> change the policy in auto-plug If XvMC is enabled from platform Use id CODEC_ID_MPEG2VIDEO_XVMC to create a caps from ffmpeg Else Use id CODEC_ID_MPEG2VIDEO to create a caps from ffmpeg Is it correct? >-----Original Message----- >From: [hidden email] >[mailto:[hidden email]] On Behalf Of David >Schleef >Sent: 2008年8月22日 14:22 >To: Discussion of the development of GStreamer >Subject: Re: [gst-devel] Does gstreamer support XvMC? > >On Fri, Aug 22, 2008 at 01:14:32PM +0800, Zhao, Halley wrote: >> mplayer or xine could use XvMC to offload some video(mpeg2) decoding to >GPU as following: >> >> mplayer -vo xvmc -vc >> >> xine -V xvmc >> >> But I can't find a way to make gstreamer(totem) to use xvmc. >> I suspect gstreamer can't support XvMC, is it correct? > >That's correct. There's really no point to using XvMC on a typical >desktop machine, as the CPU has plenty of power to decode SD MPEG-2. > >As an aside, XvMC is a really horrible interface to use to build a >decoder. I've written several gstreamer elements for hardware decoders >before, creating one with XvMC would be like poking my eye repeatedly >with a sharp stick. > > > >dave... > > >----------------------------------------------------------------------- >-- >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >Build the coolest Linux based applications with Moblin SDK & win great prizes >Grand prize is a trip for two to an Open Source event anywhere in the world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >gstreamer-devel mailing list >[hidden email] >https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |