<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On a quick inspection - it would seem that the plug-in has a
property 'program', but you are trying to set 'program-number'.<br>
<br>
Ian<br>
<br>
<div class="moz-cite-prefix">On 30/08/2013 13:45, Yogesh Tyagi
wrote:<br>
</div>
<blockquote
cite="mid:CADL-HDjEMPsHZbY8SSjuNdeOA5qb_mbbkxBXLgBXGzKZ9qLYww@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>Yes, it is a custom plugin. Here is the output of
"gst-inspect mdtsdemux"</div>
<div><br>
</div>
<div>Factory Details:</div>
<div> Long name:<span class="" style="white-space:pre"> </span>Transport
Stream Demultiplexer</div>
<div> Class:<span class="" style="white-space:pre"> </span>Demuxer</div>
<div> Description:<span class="" style="white-space:pre"> </span></div>
<div> Author(s):<span class="" style="white-space:pre"> </span></div>
<div> Rank:<span class="" style="white-space:pre"> </span>none
(0)</div>
<div><br>
</div>
<div>Plugin Details:</div>
<div> Name:<span class="" style="white-space:pre"> </span>mdplugin</div>
<div> Description:<span class="" style="white-space:pre"> </span>GStreamer
elements</div>
<div> Filename:<span class="" style="white-space:pre"> </span>/usr/lib/libgstmdplugin.so</div>
<div> Version:<span class="" style="white-space:pre"> </span>0.10.22.1</div>
<div> License:<span class="" style="white-space:pre"> </span>BSD</div>
<div> Source module:<span class="" style="white-space:pre"> </span>gst-md</div>
<div> Binary package:<span class="" style="white-space:pre"> </span>GStreamer
MD Elements</div>
<div> Origin URL:<span class="" style="white-space:pre"> </span></div>
<div><br>
</div>
<div>GObject</div>
<div> +----GstObject</div>
<div> +----GstElement</div>
<div> +----MdGstElement</div>
<div> +----MdGstDemux</div>
<div><br>
</div>
<div>Pad Templates:</div>
<div> SRC template: 'src_index'</div>
<div> Availability: Sometimes</div>
<div> Capabilities:</div>
<div> application/x-md-index</div>
<div><br>
</div>
<div> SRC template: 'src_spts'</div>
<div> Availability: Sometimes</div>
<div> Capabilities:</div>
<div> video/mpegts</div>
<div> mpegversion: 2</div>
<div> systemstream: true</div>
<div> packetsize: [ 188, 192 ]</div>
<div><br>
</div>
<div> SRC template: 'src_aud'</div>
<div> Availability: Sometimes</div>
<div> Capabilities:</div>
<div> audio/mpeg</div>
<div> mpegversion: { 1, 2, 4 }</div>
<div> audio/x-lpcm</div>
<div> width: { 16, 20, 24 }</div>
<div> rate: { 48000, 96000 }</div>
<div> channels: [ 1, 8 ]</div>
<div> dynamic_range: [ 0, 255 ]</div>
<div> emphasis: { false, true }</div>
<div> mute: { false, true }</div>
<div> audio/x-ac3</div>
<div>
audio/x-eac3</div>
<div> audio/x-dts</div>
<div> audio/x-private-ts-lpcm</div>
<div><br>
</div>
<div> SRC template: 'src_vid'</div>
<div> Availability: Sometimes</div>
<div> Capabilities:</div>
<div>
video/mpeg</div>
<div> mpegversion: { 1, 2, 4 }</div>
<div> systemstream: false</div>
<div> video/x-h264</div>
<div> video/x-wmv</div>
<div> wmvversion: 3</div>
<div> format: WVC1</div>
<div><br>
</div>
<div> SINK template: 'sink'</div>
<div> Availability: Always</div>
<div> Capabilities:</div>
<div> video/mpeg</div>
<div> mpegversion: 2</div>
<div> systemstream: true</div>
<div> video/mpegts</div>
<div> mpegversion: 2</div>
<div> systemstream: true</div>
<div> packetsize: [ 188, 192 ]</div>
<div><br>
</div>
<div><br>
</div>
<div>Element Flags:</div>
<div> no flags set</div>
<div><br>
</div>
<div>Element Implementation:</div>
<div> Has change_state() function: md_demux_change_state</div>
<div><br>
</div>
<div>Element has no clocking capabilities.</div>
<div>Element has no indexing capabilities.</div>
<div>Element has no URI handling capabilities.</div>
<div><br>
</div>
<div>Pads:</div>
<div> SINK: 'sink'</div>
<div> Implementation:</div>
<div> Has chainfunc(): md_gst_element_sink_chain</div>
<div> Has custom eventfunc(): md_gst_element_sink_event</div>
<div> Has custom queryfunc(): gst_pad_query_default</div>
<div> Has custom iterintlinkfunc():
gst_pad_iterate_internal_links_default</div>
<div> Has setcapsfunc(): md_gst_demux_sinkpad_setcaps</div>
<div> Has acceptcapsfunc(): gst_pad_acceptcaps_default</div>
<div> Pad Template: 'sink'</div>
<div><br>
</div>
<div>Element Properties:</div>
<div> name : The name of the object</div>
<div> flags: readable, writable</div>
<div> String. Default: null Current:
"mdgstdemux0"</div>
<div> use-buffering : Permits join multiple buffers to
feed 32kb buffers to device</div>
<div> flags: readable, writable</div>
<div> Boolean. Default: true Current:
true</div>
<div> stream-time-offset : Specifies an offset in ns to apply
on clock synchronization.</div>
<div> flags: readable, writable</div>
<div> Unsigned Integer64. Range: 0 -
18446744073709551615 Default: 0 Current: 0</div>
<div> pids : The comma-separated list of PIDs to
be demuxed. Value may be base-10, or in 0xABC hex format.</div>
<div> flags: writable</div>
<div> String. Default: "-1" Write only</div>
<div> program : The program number to demux. If
set along with 'pids', or auto=true, this will give the demux
a hint as to which PMT to process. Without pids, or
auto=true, this will trigger conversion from MPTS to SPTS.
Value may be base-10, or in 0xABC hex format.</div>
<div> flags: writable</div>
<div> String. Default: "-1" Write only</div>
<div> auto : If true, demux will automatically
play the default Video and Audio streams</div>
<div> flags: writable</div>
<div> Boolean. Default: true Write only</div>
<div> pmt-info : GObject with properties containing
information from the TS PMT about the currently selected
program and its streams </div>
<div> flags: Object of type "MDTsPmtInfo"</div>
<div><br>
</div>
<div>Element Signals:</div>
<div> "pad-added" : void user_function (GstElement* object,</div>
<div> GstPad* arg0,</div>
<div> gpointer user_data);</div>
<div> "pad-removed" : void user_function (GstElement* object,</div>
<div> GstPad* arg0,</div>
<div> gpointer user_data);</div>
<div> "no-more-pads" : void user_function (GstElement* object,</div>
<div> gpointer
user_data);</div>
<div><br>
</div>
<div>(gst-inspect-0.10:3870): GLib-GObject-WARNING **: invalid
unclassed pointer in cast to `GstPad'</div>
<div><br>
</div>
<div>(gst-inspect-0.10:3870): GStreamer-CRITICAL **:
gst_element_remove_pad: assertion `GST_IS_PAD (pad)' failed</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Yogesh</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Aug 30, 2013 at 6:00 PM, Robert
Krakora <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rob.krakora@messagenetsystems.com"
target="_blank">rob.krakora@messagenetsystems.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">What is the output of "gst-inspect <span
style="font-family:arial,sans-serif;font-size:13px">mdtsdemux".
</span><span
style="font-family:arial,sans-serif;font-size:13px">mdtsdemux
is not in plugins good, bad or ugly. Is it a custom
plugin or did you mean mpegtsdemux?</span></div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Aug 30, 2013 at 8:26
AM, Yogesh Tyagi <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:yogesh.bit2006@gmail.com"
target="_blank">yogesh.bit2006@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am using following command line:</div>
<div>
<div>gst-launch filesrc
location=mpeg2_333_mhz.ts ! mdtsdemux
program-number=2 name=d ! q</div>
<div>ueue ! mpeg2_viddec ! queue
max-size-buffers=3 ! vidpproc ! vidre</div>
<div>nd_sink d. ! queue ! audio_sink</div>
</div>
<div><br>
</div>
<div>I am working on mdtsdemux demux plugin in
which I have added get_propery method to get
pmt-info but I don't know how do I test my
implementation. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Yogesh</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Aug 30,
2013 at 5:44 PM, Robert Krakora <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:rob.krakora@messagenetsystems.com" target="_blank">rob.krakora@messagenetsystems.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">Hi Yogesh,
<div><br>
</div>
<div>It would help if you included the
gst-launch command line or a snippet
of your source. At a minimum, at
least tell us what plugins comprise
your pipeline.</div>
<div><br>
</div>
<div>
Best Regards,</div>
<div><br>
</div>
<div>Rob Krakora</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div>On Fri, Aug 30, 2013 at 8:09
AM, Yogesh Tyagi <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:yogesh.bit2006@gmail.com"
target="_blank">yogesh.bit2006@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">Can somebody
help me find answer to this
query?
<div>How can get_property
method be explicitly
invoked in gstreamer using
some tools like
gst-launch?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Yogesh</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On
Tue, Aug 27, 2013 at 5:35
PM, Yogesh Tyagi <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I got to work on
a gstreamer based
test app which plays
media from http
source.In this
application
following callback
has been registered
to receive pmt
information.</div>
<div>
<br>
</div>
g_signal_connect(G_OBJECT(demuxer),
"notify::pmt-info",
(GCallback)
demuxer_notify_pmt_info,
NULL);<br>
<div><br>
</div>
<div>When I run this
application I never
see
"demuxer_notify_pmt_info"
method getting
called.</div>
<div>Can somebody
please let me know
when this callback
function will be
activated so that I
can see the pmt info
of the stream.</div>
<div><br>
</div>
<div>Is there any way
to invoke
get_property methods
of plugins like e.g
set_property methods
can be invoked with
gst-launch when we
pass
"property-name=value"
to gst-launch. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Yogesh</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<table cellpadding="2"
cellspacing="0" width="426">
<colgroup><col width="422"></colgroup><tbody>
<tr>
<td
style="border:none;padding:0in"
valign="TOP" width="422">
<p><font face="Arial,
sans-serif"><font
size="4">Rob Krakora</font><font
size="4">,</font><br>
Senior Software Engineer</font></p>
<p><font face="Arial,
sans-serif">MessageNet
Systems<br>
101 E Carmel Dr, Suite
105<br>
Carmel, IN 46032</font></p>
<p><a moz-do-not-send="true"
href="http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage"
style="color:rgb(17,85,204)" target="_blank"><font color="#1155cc"><font
face="Arial,
sans-serif">MessageNetSystems.com</font></font></a><font
face="Arial, sans-serif"><br>
</font><a
moz-do-not-send="true"
href="mailto:rob.krakora@messagenetsystems.com"
style="color:rgb(17,85,204)" target="_blank"><font color="#1155cc"><font
face="Arial,
sans-serif">Rob.Krakora@MessageNetSystems.com</font></font></a><font
face="Arial, sans-serif"><br>
P: </font><a
moz-do-not-send="true"
style="color:rgb(17,85,204)"><font
color="#1155cc"><font
face="Arial,
sans-serif">317.566.1677</font></font></a><font
face="Arial, sans-serif">,
21</font><font
face="Arial, sans-serif">2</font><font
face="Arial, sans-serif"><br>
F: </font><a
moz-do-not-send="true"
style="color:rgb(17,85,204)"><font
color="#1155cc"><font
face="Arial,
sans-serif">317.663.0808</font></font></a></p>
</td>
</tr>
<tr>
<td
style="border-top-width:1px;border-style:solid
none
none;border-top-color:rgb(0,0,0);padding:0.02in
0in 0in" valign="TOP"
width="422">
<p><font face="Arial,
sans-serif"><font
style="font-size:8pt">For
the latest news,
information, and
blogs, please be sure
to visit, follow, and
like us...</font></font></p>
<p><font color="#1155cc"><a
moz-do-not-send="true"
href="http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog"
style="color:rgb(17,85,204)" target="_blank"><img moz-do-not-send="true"
name="140cf351061dbd66_140cf309a30d750d_140cf2594046aca8_SafeHtmlFilter_14040bc6244eae96_graphics46"
align="BOTTOM"
border="0"
height="34"
width="34"></a> <a
moz-do-not-send="true"
href="http://www.youtube.com/user/MessageNetConnection/feed"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_140cf309a30d750d_140cf2594046aca8_SafeHtmlFilter_14040bc6244eae96_graphics47"
align="BOTTOM"
border="0"
height="34"
width="34"></a> <a
moz-do-not-send="true"
href="http://www.linkedin.com/company/messagenet-systems"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_140cf309a30d750d_140cf2594046aca8_SafeHtmlFilter_14040bc6244eae96_graphics48"
align="BOTTOM"
border="0"
height="34"
width="34"></a> <a
moz-do-not-send="true"
href="http://twitter.com/MessageNet" style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_140cf309a30d750d_140cf2594046aca8_SafeHtmlFilter_14040bc6244eae96_graphics49"
align="BOTTOM"
border="0"
height="34"
width="34"></a> <a
moz-do-not-send="true"
href="http://www.facebook.com/MessageNetsystems"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_140cf309a30d750d_140cf2594046aca8_SafeHtmlFilter_14040bc6244eae96_graphics50"
align="BOTTOM"
border="0"
height="34"
width="34"></a></font></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<table cellpadding="2" cellspacing="0" width="426">
<colgroup><col width="422"></colgroup><tbody>
<tr>
<td style="border:none;padding:0in"
valign="TOP" width="422">
<p><font face="Arial, sans-serif"><font
size="4">Rob Krakora</font><font
size="4">,</font><br>
Senior Software Engineer</font></p>
<p><font face="Arial, sans-serif">MessageNet
Systems<br>
101 E Carmel Dr, Suite 105<br>
Carmel, IN 46032</font></p>
<p><a moz-do-not-send="true"
href="http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage"
style="color:rgb(17,85,204)"
target="_blank"><font color="#1155cc"><font
face="Arial, sans-serif">MessageNetSystems.com</font></font></a><font
face="Arial, sans-serif"><br>
</font><a moz-do-not-send="true"
href="mailto:rob.krakora@messagenetsystems.com"
style="color:rgb(17,85,204)"
target="_blank"><font color="#1155cc"><font
face="Arial, sans-serif">Rob.Krakora@MessageNetSystems.com</font></font></a><font
face="Arial, sans-serif"><br>
P: </font><a moz-do-not-send="true"
style="color:rgb(17,85,204)"><font
color="#1155cc"><font face="Arial,
sans-serif">317.566.1677</font></font></a><font
face="Arial, sans-serif">, 21</font><font
face="Arial, sans-serif">2</font><font
face="Arial, sans-serif"><br>
F: </font><a moz-do-not-send="true"
style="color:rgb(17,85,204)"><font
color="#1155cc"><font face="Arial,
sans-serif">317.663.0808</font></font></a></p>
</td>
</tr>
<tr>
<td
style="border-top-width:1px;border-style:solid
none
none;border-top-color:rgb(0,0,0);padding:0.02in
0in 0in" valign="TOP" width="422">
<p><font face="Arial, sans-serif"><font
style="font-size:8pt">For the latest
news, information, and blogs, please
be sure to visit, follow, and like
us...</font></font></p>
<p><font color="#1155cc"><a
moz-do-not-send="true"
href="http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_SafeHtmlFilter_14040bc6244eae96_graphics46"
align="BOTTOM" border="0"
height="34" width="34"></a> <a
moz-do-not-send="true"
href="http://www.youtube.com/user/MessageNetConnection/feed"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_SafeHtmlFilter_14040bc6244eae96_graphics47"
align="BOTTOM" border="0"
height="34" width="34"></a> <a
moz-do-not-send="true"
href="http://www.linkedin.com/company/messagenet-systems"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_SafeHtmlFilter_14040bc6244eae96_graphics48"
align="BOTTOM" border="0"
height="34" width="34"></a> <a
moz-do-not-send="true"
href="http://twitter.com/MessageNet"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_SafeHtmlFilter_14040bc6244eae96_graphics49"
align="BOTTOM" border="0"
height="34" width="34"></a> <a
moz-do-not-send="true"
href="http://www.facebook.com/MessageNetsystems"
style="color:rgb(17,85,204)"
target="_blank"><img
moz-do-not-send="true"
name="140cf351061dbd66_SafeHtmlFilter_14040bc6244eae96_graphics50"
align="BOTTOM" border="0"
height="34" width="34"></a></font></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
</div>
</body>
</html>