<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial
size=2> I have
installed gstreamer-0.10.25 and gstreamer-base-plugins-0.10.25. And i have
tested following video testsrc plugins.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>gst-launch-0.10 -v videotestsrc ! ffmpegcolorspace
! ximagesink and it is working fine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
I have develop following 2 plugins and i want to get display
from my video decoder. I am using following pipe line.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>gst-launch-0.10 filesrc location=~/test.m4v ! yuv !
mpeg4dec ! ffmpegcolorspace ! ximagesink</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>space<BR>Setting pipeline to PAUSED ...<BR>Width =
320 Height = 240<BR>Pipeline is PREROLLED ...<BR>Setting pipeline to PLAYING
...<BR>New clock: GstSystemClock<BR>(MPEG4DEC) Memory is not
allocated<BR> !!Caught SIGSEGV accessing address
0x10<BR>Killed<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>
My plugons capabilities
are as followed.</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>[ ] gst-inspect-0.10 yuv
is as followed.</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Factory Details:<BR> Long
name: yuv<BR>
Class: FIXME:Generic<BR>
Description: FIXME:Generic Template Element<BR>
Author(s): Neelam Gaikwad <<<A
href="">user@hostname.org</A>>><BR>
Rank: none (0)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Plugin Details:<BR>
Name:
yuv<BR> Description:
Template yuv<BR>
Filename:
/home/neelam/.gstreamer-0.10/plugins/lib/gstreamer-0.10/libgstyuv.so<BR>
Version:
0.10.0.1<BR>
License:
LGPL<BR> Source module:
gst-plugin<BR> Binary package:
GStreamer<BR> Origin
URL: <A
href="">http://gstreamer.net/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>GObject<BR> +----GstObject<BR>
+----GstElement<BR>
+----Gstyuv</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Pad Templates:<BR> SINK template:
'sink'<BR> Availability: Always<BR>
Capabilities:<BR> ANY</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> SRC template: 'src'<BR>
Availability: Always<BR>
Capabilities:<BR> ANY</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>Element Flags:<BR> no flags
set</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Element Implementation:<BR> Has
change_state() function: 0x111600<BR> Has custom save_thyself() function:
gst_element_save_thyself<BR> Has custom restore_thyself() function:
gst_element_restore_thyself</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Element has no clocking capabilities.<BR>Element
has no indexing capabilities.<BR>Element has no URI handling
capabilities.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Pads:<BR> SRC: 'src'<BR>
Implementation:<BR> Pad Template: 'src'<BR> SINK:
'sink'<BR> Implementation:<BR>
Has chainfunc(): gst_yuv_chain<BR> Pad Template:
'sink'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Element Properties:<BR>
name
: The name of the
object<BR>
flags: readable,
writable<BR>
String. Default: null Current: "yuv0"<BR>
silent
: Produce verbose output
?<BR>
flags: readable,
writable<BR>
Boolean. Default: false Current: false</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR><STRONG>[ ] gst-inspect-0.10 mpeg4dec is as
followed.</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>Factory Details:<BR> Long name: mpeg4dec<BR>
Class: FIXME:Generic<BR>
Description: FIXME:Generic Template Element<BR>
Author(s): Neelam Gaikwad <<<A
href="">user@hostname.org</A>>><BR>
Rank: none (0)</DIV>
<DIV> </DIV>
<DIV>Plugin Details:<BR>
Name:
mpeg4dec<BR>
Description: Template
mpeg4dec<BR>
Filename:
/home/neelam/.gstreamer-0.10/plugins/lib/gstreamer-0.10/libgstmpeg4dec.so<BR>
Version:
0.10.0.1<BR>
License:
LGPL<BR> Source module:
gst-plugin<BR> Binary package:
GStreamer<BR> Origin
URL: <A
href="">http://gstreamer.net/</A></DIV>
<DIV> </DIV>
<DIV>GObject<BR> +----GstObject<BR>
+----GstElement<BR>
+----Gstmpeg4dec</DIV>
<DIV> </DIV>
<DIV>Pad Templates:<BR> SINK template: 'sink'<BR>
Availability: Always<BR>
Capabilities:<BR> ANY</DIV>
<DIV> </DIV>
<DIV> SRC template: 'src'<BR> Availability:
Always<BR> Capabilities:<BR>
video/x-raw-yuv<BR>
format: { YV12
}<BR>
framerate: [ 0/1, 2147483647/1
]<BR>
width: [ 1, 2147483647
]<BR>
height: [ 1, 2147483647 ]</DIV>
<DIV> </DIV>
<DIV><BR>Element Flags:<BR> no flags set</DIV>
<DIV> </DIV>
<DIV>Element Implementation:<BR> Has change_state() function:
0xc97240<BR> Has custom save_thyself() function:
gst_element_save_thyself<BR> Has custom restore_thyself() function:
gst_element_restore_thyself</DIV>
<DIV> </DIV>
<DIV>Element has no clocking capabilities.<BR>Element has no indexing
capabilities.<BR>Element has no URI handling capabilities.</DIV>
<DIV> </DIV>
<DIV>Pads:<BR> SRC: 'src'<BR>
Implementation:<BR> Pad Template: 'src'<BR> SINK:
'sink'<BR> Implementation:<BR>
Has chainfunc(): gst_mpeg4dec_chain<BR> Pad Template:
'sink'</DIV>
<DIV> </DIV>
<DIV>Element Properties:<BR>
name
: The name of the
object<BR>
flags: readable,
writable<BR>
String. Default: null Current: "mpeg4dec0"<BR>
silent
: Produce verbose output
?<BR>
flags: readable,
writable<BR>
Boolean. Default: false Current: false<BR></DIV>
<DIV>
</DIV>
<DIV> </DIV>
<DIV>
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.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-Thanks In Advance,</DIV>
<DIV>Tejas.</DIV></FONT></DIV></BODY></HTML>