<br>Hi,<div>          Hi ,,</div><div>         Try providing caps between  rtph263pdepay and avimux .</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Sat, May 30, 2009 at 8:28 PM, Zelalem Sintayehu <span dir="ltr">&lt;<a href="mailto:zelalems@hotmail.com">zelalems@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div>
Hi, I was trying to transfer video and audio using network. I used teh examples from the net to do that and succeeded. But now I wanted to save the stream into file and faced with some problem. Please look at the following command:<br>
<br>gst-launch-0.10 udpsrc port=5000 caps=&quot;application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998&quot; num-buffers=5000 ! queue ! rtph263pdepay ! ffdec_h263 ! xvimagesink   ----- this is what i used to accept and display a video stream. <br>
<br>So, to save the stream into a file I changed the last two elements (the ffmpeg decoder and xvimake sink). I thought that since the packet coming from the other machine is already encoded in h263p codec, replacing these two elements  with the following elements would solve my problem: I used these elments: avimux ! filesink location=testnet.avi . That is, i connected the rtph263pdepay element to the avimux element and to the file sink element sequentially as follows. <br>
<br> gst-launch-0.10 udpsrc port=5000 caps=&quot;application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998&quot; num-buffers=5000 ! queue ! rtph263pdepay ! avimux ! filesink location=test.avi<br>
<br>But I got an error, that says: streaming task paused, reason not-negotiated (-4)<br><br>Please help me on how I can save a stream. <br><br>Thank you.<br><br>- Zelalem S. <br><br><br><br><hr>Invite your mail contacts to join your friends list with Windows Live Spaces. It&#39;s easy! <a href="http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.aspx&amp;mkt=en-us" target="_blank">Try it!</a></div>

<br>------------------------------------------------------------------------------<br>
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>
is a gathering of tech-side developers &amp; brand creativity professionals. Meet<br>
the minds behind Google Creative Lab, Visual Complexity, Processing, &amp;<br>
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>
Group, R/GA, &amp; Big Spaceship. <a href="http://p.sf.net/sfu/creativitycat-com" target="_blank">http://p.sf.net/sfu/creativitycat-com</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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>