Hi Michel, Nice to have reply back. element yuv doen't do much thing. It reads data from buffer sent from filesrc, parse the raw video data and push buffer to next element which is mpeg4dec. For testing purpose i have set sink and source pad of yuv element to ANY. Following pipeline is working fine. [ ] gst-launch-0.10 filesrc location=~/test.m4v ! yuv ! mpeg4dec ! filesink location=~/out.yuv My mpeg4dec element reads data from yuv elemnet, decode it and generate output in YV12 format. When i connect mpeg4dec with ffmpegcolorspace element it crashes. I am not doing any set capabilities for mpeg4dec element. When i create srcfactory pad, i have assigned following details. static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("ANY") ); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc) {YV12 }, " "framerate = (fraction) [0/1, MAX], " "width = (int) [ 1, MAX ], " "height = (int) [ 1, MAX ]") // GST_STATIC_CAPS ("ANY") ); Please help me and correct me if i am wrong at any places. Thanks In Advance, Tejas. Please help me out. ----- Original Message ----- From: Tejas Bhanabhagavanwala To: gstreamer-embedded at lists.sourceforge.net Sent: Wednesday, November 18, 2009 6:25 PM Subject: Need Help to run my plugin Hi All, I have installed gstreamer-0.10.25 and gstreamer-base-plugins-0.10.25. And i have tested following video testsrc plugins. gst-launch-0.10 -v videotestsrc ! ffmpegcolorspace ! ximagesink and it is working fine. I have develop following 2 plugins and i want to get display from my video decoder. I am using following pipe line. gst-launch-0.10 filesrc location=~/test.m4v ! yuv ! mpeg4dec ! ffmpegcolorspace ! ximagesink Here yuv plugin will read raw data from filesrc and push raw data to mpeg4decelement. Mpeg4dec element decode raw data and genearte yuv data and same will be pushed to ffmpegcolorspace element. When i run that pipeline it gives me following error. space Setting pipeline to PAUSED ... Width = 320 Height = 240 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock (MPEG4DEC) Memory is not allocated !!Caught SIGSEGV accessing address 0x10 Killed My plugons capabilities are as followed. [ ] gst-inspect-0.10 yuv is as followed. Factory Details: Long name: yuv Class: FIXME:Generic Description: FIXME:Generic Template Element Author(s): Neelam Gaikwad <<user at hostname.org>> Rank: none (0) Plugin Details: Name: yuv Description: Template yuv Filename: /home/neelam/.gstreamer-0.10/plugins/lib/gstreamer-0.10/libgstyuv.so Version: 0.10.0.1 License: LGPL Source module: gst-plugin Binary package: GStreamer Origin URL: http://gstreamer.net/ GObject +----GstObject +----GstElement +----Gstyuv Pad Templates: SINK template: 'sink' Availability: Always Capabilities: ANY SRC template: 'src' Availability: Always Capabilities: ANY Element Flags: no flags set Element Implementation: Has change_state() function: 0x111600 Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Element has no clocking capabilities. Element has no indexing capabilities. Element has no URI handling capabilities. Pads: SRC: 'src' Implementation: Pad Template: 'src' SINK: 'sink' Implementation: Has chainfunc(): gst_yuv_chain Pad Template: 'sink' Element Properties: name : The name of the object flags: readable, writable String. Default: null Current: "yuv0" silent : Produce verbose output ? flags: readable, writable Boolean. Default: false Current: false [ ] gst-inspect-0.10 mpeg4dec is as followed. Factory Details: Long name: mpeg4dec Class: FIXME:Generic Description: FIXME:Generic Template Element Author(s): Neelam Gaikwad <<user at hostname.org>> Rank: none (0) Plugin Details: Name: mpeg4dec Description: Template mpeg4dec Filename: /home/neelam/.gstreamer-0.10/plugins/lib/gstreamer-0.10/libgstmpeg4dec.so Version: 0.10.0.1 License: LGPL Source module: gst-plugin Binary package: GStreamer Origin URL: http://gstreamer.net/ GObject +----GstObject +----GstElement +----Gstmpeg4dec Pad Templates: SINK template: 'sink' Availability: Always Capabilities: ANY SRC template: 'src' Availability: Always Capabilities: video/x-raw-yuv format: { YV12 } framerate: [ 0/1, 2147483647/1 ] width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] Element Flags: no flags set Element Implementation: Has change_state() function: 0xc97240 Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Element has no clocking capabilities. Element has no indexing capabilities. Element has no URI handling capabilities. Pads: SRC: 'src' Implementation: Pad Template: 'src' SINK: 'sink' Implementation: Has chainfunc(): gst_mpeg4dec_chain Pad Template: 'sink' Element Properties: name : The name of the object flags: readable, writable String. Default: null Current: "mpeg4dec0" silent : Produce verbose output ? flags: readable, writable Boolean. Default: false Current: false Please help me to resolve this issue. If i am wrong at any place please correct me. I am using by default setcaps and getcaps function which we are generating from gst-template-master source code. -Thanks In Advance, Tejas. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20091119/2467ad05/attachment.htm>