<div dir="ltr">Hi All.. <br><br>I am facing some other problem in RTP Streaming...<br><br>I am sending the rtp data over the UDP and playing it on the other end.<br>I am recording the data from v4l2src @ 10  fps&nbsp; and&nbsp; voice data from alsasrc to send it across. The transmission starts well as well as i can see the video on the other end.<br>
Now in between i starts to take the data from a file.<br>I decode the data and encode again to send it using the same rtpbin and udpsink.<br><br>Enc, Pay gstrtpbin and udpsink are the element kept common...means i will use these elements in both the cases.<br>
<br>the packets goes well and on the other end i can see the AV fine in both the cases....<br><br>Now when i again switch back to v4l2src the packets on the receiver end come but the decoder (ffdec_mpeg4) gives error.......and there is no updates on display........<br>
<br>The file i am using is @25fps......<br>also when i increase the FPS of v4l2src the whole system works well.....@20 fps.....<br><br>Please let me know if i am missing something or i am doing something wrong way....<br>
<br>Also i tried using different enc and pay elements in both the case..but i i unlink and link to gstrtpbin, there is no data at all..even in the first switch to file transfer.............. :(<br><br>Please help...i have tried every possible thing to fix this issue....but i am stuck with the same for last couple of days now.....<br>
<br><br>Any input will be appreciated from bottum of heart.......<br><br>BR<br>Manish<br><div class="gmail_quote"><br><br>Tue, Sep 30, 2008 at 3:52 PM, Wim Taymans <span dir="ltr">&lt;<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Tue, 2008-09-30 at 11:59 +0200, Francesco Argese wrote:<br>

&gt; Hi all.<br>
&gt;<br>
&gt; I have problems sending a theora flow in streaming through rtp.<br>
&gt;<br>
&gt; My two pipeline are the following:<br>
&gt; Sender<br>
&gt; 1)gst-launch gstrtpbin name=rtpbin dv1394src ! dvdemux name=demux !<br>
&gt; dvdec ! ffmpegcolorspace ! theoraenc ! rtptheorapay !<br>
&gt; rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000<br>
&gt; host=<a href="http://172.16.1.56" target="_blank">172.16.1.56</a> &nbsp;rtpbin.send_rtcp_src_0 ! udpsink port=5001<br>
&gt; host=<a href="http://172.16.1.56" target="_blank">172.16.1.56</a> sync=false async=false udpsrc port=5005 !<br>
&gt; rtpbin.recv_rtcp_sink_0<br>
&gt;<br>
&gt; Receiver<br>
&gt; 2)gst-launch-0.10 gstrtpbin name=rtpbin udpsrc port=5000<br>
&gt; caps=&quot;application/x-rtp,media=video,clock-rate=90000,encoding-name=THEORA,profile-level-id=1,payload=96&quot;<br>
&gt; ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtptheoradepay ! theoradec !<br>
&gt; ffmpegcolorspace !<br>
&gt; video/x-raw-rgb,bpp=32,endianness=4321,depth=24,red_mask=65280,green_mask=16711680,blue_mask=-16777216,width=720,height=576<br>
&gt; ! fakesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0<br>
&gt; rtpbin.send_rtcp_src_0 ! udpsink host=172.16.100.277 port=5005<br>
&gt; sync=false async=false<br>
&gt;<br>
&gt; The sender seems to works well but at the receiver i obtain the following error:<br>
&gt; New clock: GstSystemClock<br>
&gt; ERROR: from element /pipeline0/udpsrc0: Internal data flow error.<br>
&gt; Additional debug info:<br>
&gt; gstbasesrc.c(2240): gst_base_src_loop (): /pipeline0/udpsrc0:<br>
&gt; streaming task paused, reason not-negotiated (-4)<br>
<br>
</div></div>The receiver needs the sampling, width, height and configuration<br>
strings. Run the sender pipeline with -v, then copy the caps on the RTP<br>
udpsink to the receiver udpsrc caps (and yes, they are huge and they are<br>
needed).<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div class="Wj3C7c"><br>
&gt;<br>
&gt; Any suggestion? What could be the problem? A pipeline very similar<br>
&gt; using MPEG4 works well.<br>
&gt;<br>
&gt; Regards<br>
&gt; Francesco Argese<br>
&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<br>
&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">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>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">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><br></div>