Zhao, Halley schrieb: > Then it means, I can't set this property through gst-launch, > but create the element and set it to playbin in programming language (C, > python, etc.). > This is correct. Stefan
> Thanks. > > > >-----Original Message----- > >From: Zhao Liang-E3423C [mailto:e34...@motorola.com] > >Sent: 2009年2月26日 11:14 > >To: Zhao, Halley; Discussion of the development of GStreamer; Michael Smith > >Cc: gstreamer-embedded@lists.sourceforge.net > >Subject: RE: [gst-embedded] [gst-devel] can playbin handle the > >sinkwithdecoding functions? > > > >GST_TYPE_ELEMENT, that means the "video-sink" is a GstElement, actually > >it should be a GstElement pointer and the default value is NULL. > > > >You need to create the videosink element externally, and set the pointer > >to this property. You can refer totem sourcecode. > > > >Zhao Liang > > > >-----Original Message----- > >From: Zhao, Halley [mailto:halley.z...@intel.com] > >Sent: Thursday, February 26, 2009 11:08 AM > >To: Zhao Liang-E3423C; Discussion of the development of GStreamer; Michael > >Smith > >Cc: gstreamer-embedded@lists.sourceforge.net > >Subject: RE: [gst-embedded] [gst-devel] can playbin handle the > >sinkwithdecoding functions? > > > > video-sink is GstElement? But I saw the following codes: > > > > gst_play_bin_class_init (GstPlayBinClass * klass) > > { > > ... > > g_object_class_install_property (gobject_klass, ARG_VIDEO_SINK, > > g_param_spec_object ("video-sink", "Video Sink", > > "the video output element to use (NULL = default sink)", > > GST_TYPE_ELEMENT, G_PARAM_READWRITE)); > > ... > > } > > > > >-----Original Message----- > > >From: Zhao Liang-E3423C [mailto:e34...@motorola.com] > > >Sent: 2009年2月24日 10:56 > > >To: Discussion of the development of GStreamer; Michael Smith > > >Cc: gstreamer-embedded@lists.sourceforge.net > > >Subject: Re: [gst-embedded] [gst-devel] can playbin handle the > >sinkwith > > >decoding functions? > > > > > >The type of Video-sink is GstElement, not string. > > > > > >-----Original Message----- > > >From: Zhao, Halley [mailto:halley.z...@intel.com] > > >Sent: Tuesday, February 24, 2009 10:46 AM > > >To: Discussion of the development of GStreamer; Michael Smith > > >Cc: gstreamer-embedded@lists.sourceforge.net > > >Subject: Re: [gst-devel] [gst-embedded] can playbin handle the > >sinkwith > > >decoding functions? > > > > > > My gst version is 0.10.18 (Ubuntu hardy). > > > I saw that playbin has the property of "video-sink", but my try > >fails: > > > gst-launch playbin -v -v > >uri=file:///home/halley/media/video/test.avi > > >video-sink=xvimagesink > > > The error message is: > > > WARNING: erroneous pipeline: could not set property "video-sink" > >in > > >element "playbin10" to "xvimagesink" > > > > > > Even when I try to use playbin2 and fakesink, it always give the > >same > > >error. > > > > > > Where is my problem, thanks. > > > > > > >-----Original Message----- > > > >From: Michael Smith [mailto:msm...@xiph.org] > > > >Sent: 2009年2月21日 12:31 > > > >To: Liang Zhao > > > >Cc: gstreamer-embedded@lists.sourceforge.net; > > > >gstreamer-de...@lists.sourceforge.net > > > >Subject: Re: [gst-devel] [gst-embedded] can playbin handle the > >sink > > >with > > > >decoding functions? > > > > > > > >On Fri, Feb 20, 2009 at 6:03 PM, Liang Zhao > ><liangzhao....@gmail.com> > > >wrote: > > > >> Hi Mke, > > > >> > > > >> Thank you. > > > >> > > > >> So the only way is to use playbin2? what is the difference on > > >intefaces, > > > >> properties and signals between playbin2 and playbin? > > > >> I find most of them are same. > > > > > > > >The only sensible approach (assuming you want to reuse existing > >code, > > > >rather than writing something from scratch yourself) is to switch > >to > > > >playbin2. > > > > > > > >The documentation can help you with the differences - you're > >right, > > > >most things are similar. > > > > > > > >Mike > > > > > > > > > > >>>--------------------------------------------------------------------- > >- > > >- > > > >------- > > > >Open Source Business Conference (OSBC), March 24-25, 2009, San > > >Francisco, > > > >CA > > > >-OSBC tackles the biggest issue in open source: Open Sourcing the > > >Enterprise > > > >-Strategies to boost innovation and cut costs with open source > > >participation > > > >-Receive a $600 discount off the registration fee with the source > >code: > > >SFAD > > > >http://p.sf.net/sfu/XcvMzF8H > > > >_______________________________________________ > > > >gstreamer-devel mailing list > > > >gstreamer-de...@lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > >>---------------------------------------------------------------------- > >- > > >------- > > >Open Source Business Conference (OSBC), March 24-25, 2009, San > >Francisco, > > >CA -OSBC tackles the biggest issue in open source: Open Sourcing the > > >Enterprise -Strategies to boost innovation and cut costs with open > >source > > >participation -Receive a $600 discount off the registration fee with > >the > > >source code: SFAD http://p.sf.net/sfu/XcvMzF8H > > >_______________________________________________ > > >gstreamer-devel mailing list > > >gstreamer-de...@lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > > > >>---------------------------------------------------------------------- > >- > > >------- > > >Open Source Business Conference (OSBC), March 24-25, 2009, San > >Francisco, > > >CA > > >-OSBC tackles the biggest issue in open source: Open Sourcing the > >Enterprise > > >-Strategies to boost innovation and cut costs with open source > >participation > > >-Receive a $600 discount off the registration fee with the source code: > >SFAD > > >http://p.sf.net/sfu/XcvMzF8H > > >_______________________________________________ > > >Gstreamer-embedded mailing list > > >Gstreamer-embedded@lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gstreamer-embedded mailing list > Gstreamer-embedded@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded