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 <<u...@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 <<u...@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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to