<br><br><div class="gmail_quote">On Wed, Apr 15, 2009 at 11:11 PM, thiagoss <span dir="ltr">&lt;<a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Apr 15, 2009 at 10:44 PM, shirie <span dir="ltr">&lt;<a href="mailto:shizibo@gmail.com" target="_blank">shizibo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
sorry, I mispaste the output. Here is the correct:<br>
THe pipeline is :<br>
<div>gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \<br>
</div>d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \<br>
d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }<br>
<br>
and the output is;<br>
<div>Setting pipeline to PAUSED ...<br>
/pipeline0/queue0.sink: caps = video/mpeg, mpegversion=(int)4,<br>
systemstream=(boolean)false,<br>
codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
/pipeline0/queue0.src: caps = video/mpeg, mpegversion=(int)4,<br>
systemstream=(boolean)false,<br>
codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
</div>/pipeline0/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video,<br>
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MPEG4-GENERIC,<br>
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,<br>
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,<br>
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
<div>sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3<br>
</div>/pipeline0/rtpmp4gpay0.sink: caps = video/mpeg, mpegversion=(int)4,<br>
<div>systemstream=(boolean)false,<br>
codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
</div><div>/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,<br>
</div>payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MPEG4-GENERIC,<br>
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,<br>
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,<br>
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
<div>sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3<br>
</div>Pipeline is PREROLLING ...<br>
<br>
There is really only one udpsink. What&#39;s problem?</blockquote><div><br></div></div></div><div>Try setting the queue&#39;s max size to a greater value.</div></div></blockquote><div>Also, it seems that your second queue (the audio one) doesn&#39;t receive any data. Did you try another file? Maybe one that data is interleaved?</div>

<div><br></div><div>I guess that the first udpsink is waiting to sync with the other one that never receives data because the video queue has blocked (already is full) and consequently might block the demuxer. But I might be wrong, I haven&#39;t gone far in gst in clock/sync issues.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div></div><div><div></div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
<div><div></div><div><br>
<br>
thiagoss wrote:<br>
&gt;<br>
&gt; On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI &lt;<a href="mailto:shizibo@gmail.com" target="_blank">shizibo@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; hi, all. I&#39;m trying the rtp plugin refer to the doc at:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&amp;view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&amp;view=markup</a><br>



&gt;&gt;<br>
&gt;&gt; Here&#39;s my simple pipeline:<br>
&gt;&gt; gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \<br>
&gt;&gt; d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \<br>
&gt;&gt; d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }<br>
&gt;&gt;<br>
&gt;&gt; but after it&#39;s run, here is the output:<br>
&gt;&gt;<br>
&gt;&gt; Setting pipeline to PAUSED ...<br>
&gt;&gt; /pipeline0/queue0.sink: caps = video/mpeg, mpegversion=(int)4,<br>
&gt;&gt; systemstream=(boolean)false,<br>
&gt;&gt; codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
&gt;&gt; width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
&gt;&gt; /pipeline0/queue0.src: caps = video/mpeg, mpegversion=(int)4,<br>
&gt;&gt; systemstream=(boolean)false,<br>
&gt;&gt; codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
&gt;&gt; width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
&gt;&gt; /pipeline0/rtpmp4vpay0.src: caps = application/x-rtp,<br>
&gt;&gt; media=(string)video,<br>
&gt;&gt; payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,<br>
&gt;&gt; ssrc=(guint)3831296950, clock-base=(guint)4106776350,<br>
&gt;&gt; seqnum-base=(guint)53267, profile-level-id=(string)1,<br>
&gt;&gt; config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34<br>
&gt;&gt; /pipeline0/rtpmp4vpay0.sink: caps = video/mpeg, mpegversion=(int)4,<br>
&gt;&gt; systemstream=(boolean)false,<br>
&gt;&gt; codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,<br>
&gt;&gt; width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
&gt;&gt; /pipeline0/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt;&gt; framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,<br>
&gt;&gt; channels=(int)2<br>
&gt;&gt; /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt;&gt; framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,<br>
&gt;&gt; channels=(int)2<br>
&gt;&gt; /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp,<br>
&gt;&gt; media=(string)audio,<br>
&gt;&gt; payload=(int)96, clock-rate=(int)32000,<br>
&gt;&gt; encoding-name=(string)MPEG4-GENERIC,<br>
&gt;&gt; ssrc=(guint)3458294825, clock-base=(guint)2594580451,<br>
&gt;&gt; seqnum-base=(guint)42905, encoding-params=(string)2,<br>
&gt;&gt; streamtype=(string)5,<br>
&gt;&gt; profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,<br>
&gt;&gt; sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3<br>
&gt;&gt; /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt;&gt; framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,<br>
&gt;&gt; channels=(int)2<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; here<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; /pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio,<br>
&gt;&gt; payload=(int)96, clock-rate=(int)32000,<br>
&gt;&gt; encoding-name=(string)MPEG4-GENERIC,<br>
&gt;&gt; ssrc=(guint)3458294825, clock-base=(guint)2594580451,<br>
&gt;&gt; seqnum-base=(guint)42905, encoding-params=(string)2,<br>
&gt;&gt; streamtype=(string)5,<br>
&gt;&gt; profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,<br>
&gt;&gt; sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; and here<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,<br>
&gt;&gt; payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,<br>
&gt;&gt; ssrc=(guint)3831296950, clock-base=(guint)4106776350,<br>
&gt;&gt; seqnum-base=(guint)53267, profile-level-id=(string)1,<br>
&gt;&gt; config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Pipeline is PREROLLING ...<br>
&gt;&gt; Pipeline is PREROLLED ...<br>
&gt;&gt; Setting pipeline to PLAYING ...<br>
&gt;&gt; New clock: GstSystemClock<br>
&gt;&gt;<br>
&gt;&gt; According to the doc, there should be udpsink0 and udpsink1, but I only<br>
&gt;&gt; have one udpsink in the output.<br>
&gt;&gt; Is there anything wrong  with my pipeline? I&#39;m fairly new with gstreamer.<br>
&gt;&gt; Can anyone hlep me? Thanks very much.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Look again, there they are!<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; This SF.net email is sponsored by:<br>
&gt;&gt; High Quality Requirements in a Collaborative Environment.<br>
&gt;&gt; Download a free trial of Rational Requirements Composer Now!<br>
&gt;&gt; <a href="http://p.sf.net/sfu/www-ibm-com" target="_blank">http://p.sf.net/sfu/www-ibm-com</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Thiago Sousa Santos<br>
&gt;<br>
&gt; Embedded Systems and Pervasive Computing Lab (Embedded)<br>
&gt; Center of Electrical Engineering and Informatics (CEEI)<br>
&gt; Federal University of Campina Grande (UFCG)<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; This SF.net email is sponsored by:<br>
&gt; High Quality Requirements in a Collaborative Environment.<br>
&gt; Download a free trial of Rational Requirements Composer Now!<br>
&gt; <a href="http://p.sf.net/sfu/www-ibm-com" target="_blank">http://p.sf.net/sfu/www-ibm-com</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.html" target="_blank">http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
<div><div></div><div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>

Federal University of Campina Grande (UFCG)<br>

</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>Federal University of Campina Grande (UFCG)<br>