<div>Hi ,</div>
<div> </div>
<div> Actually i treid following pipeline on my machine , and it works . ( I dont have webcam so tried it using videotestsrc) .</div>
<div> </div>
<div>gst-launch videotestsrc ! 'video/x-raw-yuv,width=320,heigh=240,framerate=(fraction)25/1,format=(fourcc)I420' ! ffenc_h263p ! rtph263ppay ! udpsink port=5000</div>
<div> </div>
<div> gst-launch udpsrc port=5000 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998" num-buffers=5000 ! queue ! rtph263pdepay ! ffdec_h263 ! avimux ! filesink location=test.avi</div>
<div> </div>
<div> </div>
<div> And ensure that u have latest Gstreamer installed . </div>
<div> </div>
<div> </div>
<div> <br><br></div>
<div class="gmail_quote">On Mon, Jun 1, 2009 at 5:43 PM, Zelalem Sintayehu <span dir="ltr"><<a href="mailto:zelalems@hotmail.com">zelalems@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div class="im">Hi Sudarshan, thank you again for the prompt response. I tried your suggestion but still got error. When i try the first suggestion, I got the following error:<br>WARNING: erroneous pipeline: could not parse caps "video/x-h263,width=176,height=144,framerate=25\"<br>
And then I removed the space after 25 (the frame rate - please look at the suggested caps below) and got the following error: WARNING: erroneous pipeline: could not link rtph263pdepay0 to avimux0. It considers as if the caps is not there.<br>
<br>When I use the second suggestion again with the space after 263, i got the same kind of error as above. When i delete the space, I got the following error:<br></div>
<div class="im">streaming task paused, reason not-negotiated (-4)<br><br></div>
<div class="im">I don't know what is hapening.<br><br>BTW, on the sender side I used the following command:<br>gst-launch v4l2src ! video/x-raw-rgb,width=320,height=240 ! queue ! videorate ! video/x-raw-rgb,rate=15/1 ! ffmpegcolorspace! ffenc_h263p ! rtph263ppay ! udpsink port=5000<br>
<br>I hope this will give you the clue about the problem. I run the command on Ubuntu Interpid.<br><br>Thank you.<br><br>- Zelalem S. <br><br><br></div>
<hr>
Date: Mon, 1 Jun 2009 13:52:34 +0530
<div>
<div></div>
<div class="h5"><br>From: <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a><br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Subject: Re: [gst-devel] How to save a stream from a network into a file<br><br>
<div>Hi ,</div>
<div> </div>
<div> for exapmle try these :- </div>
<div> </div>
<div> gst-launch-0.10 udpsrc port=5000 caps="application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998" num-buffers=5000 ! queue ! rtph263pdepay ! 'video/x-h263,width=176,height=144,framerate=25 ' ! avimux ! filesink location=test.avi<br>
<br>or </div>
<div> </div>
<div> gst-launch-0.10 udpsrc port=5000 caps="application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998" num-buffers=5000 ! queue ! rtph263pdepay ! 'video/x-h263 ' ! avimux ! filesink location=test.avi<br>
</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>On Mon, Jun 1, 2009 at 1:00 PM, Zelalem Sintayehu <span dir="ltr"><<a href="mailto:zelalems@hotmail.com" target="_blank">zelalems@hotmail.com</a>></span> wrote:<br>
<blockquote style="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi Sudarshan, thank you for your prompt response. But, I am new to gstream and I think I don't understand your comment. Sorry to bother you again. I tried to set the caps property of the rtpdepayloader by putting caps="application/x-rtp, media...." for the rtph263pdepay element, but I get the following error: WARNING: erroneous pipeline: no property "caps" in element "rtph263pdepay0". So, do i need to include a new element in between the two elements (rtp263depay and avimux) or how can i provide caps? <br>
<br>Thank you again for your assistance.<br><br>- Zelalem S. <br><br>
<hr>
Date: Sun, 31 May 2009 10:58:31 +0530<br>From: <a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a><br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Subject: Re: [gst-devel] How to save a stream from a network into a file
<div>
<div></div>
<div><br><br><br>Hi,
<div> Hi ,,</div>
<div> Try providing caps between rtph263pdepay and avimux .</div>
<div><br></div>
<div><br></div>
<div><br>
<div>On Sat, May 30, 2009 at 8:28 PM, Zelalem Sintayehu <span dir="ltr"><<a href="mailto:zelalems@hotmail.com" target="_blank">zelalems@hotmail.com</a>></span> wrote:<br>
<blockquote style="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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="application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998" 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="application/x-rtp, media=(string)video,clock-rate=(int)90000, encoding-name=(string)H263-1998" 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's easy! <a href="http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&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 & brand creativity professionals. Meet<br>
the minds behind Google Creative Lab, Visual Complexity, Processing, &<br>iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>Group, R/GA, & 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" 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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br></div><br></div></div>
<hr>
check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. <a href="http://www.microsoft.com/windows/windowslive/" target="_blank">More than messages</a></div><br>------------------------------------------------------------------------------<br>
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>is a gathering of tech-side developers & brand creativity professionals. Meet<br>the minds behind Google Creative Lab, Visual Complexity, Processing, &<br>
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>Group, R/GA, & 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" 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>
<br></blockquote></div><br><br clear="all">
<div></div><br>-- <br>Regards,<br><br>Sudarshan Bisht<br><br></div></div>
<div class="im">
<hr>
See all the ways you can stay connected <a href="http://www.microsoft.com/windows/windowslive/default.aspx" target="_blank">to friends and family</a></div></div><br>------------------------------------------------------------------------------<br>
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>is a gathering of tech-side developers & brand creativity professionals. Meet<br>the minds behind Google Creative Lab, Visual Complexity, Processing, &<br>
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>Group, R/GA, & 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">
<div></div><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>