We are trying to create a custom mime type as video/geo.
For that, we are creating a plugin which takes .geo as input and yuv as source output. We could register our plugin which gets detected when we try playing a .geo file which has a simple header GEO and yuv420 data. The problem is that when we run gst-launch-0.10 filesrc location="/home/hemin/Desktop/suzie.geo" ! examplefilter ! xvimagesink we get error>>>> WARNING: erroneous pipeline: could not link examplefilter0 to xvimagesink0 We have hard coded the height,width,framerate, and the format in the plugin code as static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-raw-yuv, format=(fourcc)I420, width = (int) 176,"" height = (int) 144," "framerate = (double)10")); What should I do so that it connects to the xvimagesink plugin and play the file?? Where am I going wrong ? Please help!!!!! ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Thu, Oct 8, 2009 at 8:06 AM, Hemin Merchant
<[hidden email]> wrote: > static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", > GST_PAD_SRC, > GST_PAD_ALWAYS, > GST_STATIC_CAPS ("video/x-raw-yuv, format=(fourcc)I420, width = > (int) 176,"" height = (int) 144," "framerate = (double)10")); Framerate is not a double in gstreamer, it must be a fraction, like: framerate=(fraction)10/1 Mike ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hey thanks a lot for your help!
Now the error that is coming when I do >>> gst-launch-0.10 filesrc location="/home/hemin/Desktop/suzie.geo" ! examplefilter ! xvimagesink is: Setting pipeline to PAUSED ... Pipeline is PREROLLING ... I'm plugged! therefore I'm in. ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2330): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: streaming task paused, reason error (-5) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... Any idea what is the issue now??? Michael Smith wrote: > On Thu, Oct 8, 2009 at 8:06 AM, Hemin Merchant > <[hidden email]> wrote: > > >> static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", >> GST_PAD_SRC, >> GST_PAD_ALWAYS, >> GST_STATIC_CAPS ("video/x-raw-yuv, format=(fourcc)I420, width = >> (int) 176,"" height = (int) 144," "framerate = (double)10")); >> > > Framerate is not a double in gstreamer, it must be a fraction, like: > framerate=(fraction)10/1 > > Mike > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |