<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Sudarshan, thank you very much. It is working. I really appreciate your assistance. I think this is the proper way of doing it as it doesn't require the decoding and encoding of an already encoded video stream. The quality would deteriorate. BTW, the error message in Gstream is not user friendly, it should have said that it is incorect syntax or something similar. Anyway, I am happy. BTW, have you seen the first frame from the file? It is very blurred. When I play the video from the file it starts with a very blurred frame. What do you think is the reason?<br><br>Thanks again for your support.<br><br>Best regards,<br><br>- Zelalem S. <br><br><hr id="stopSpelling">Date: Tue, 2 Jun 2009 10:07:20 +0530<br>From: bisht.sudarshan@gmail.com<br>To: gstreamer-devel@lists.sourceforge.net<br>Subject: Re: [gst-devel] How to save a stream from a network into a file<br><br><div>Hi Zelalem </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use the following pipeline, here i have set the proper caps between rtph263pdepay&nbsp;and avimux . Make sure&nbsp;at&nbsp;whatever width, height and framerate&nbsp;you are capturing at source side use the same numbers here on receiver side also.&nbsp; This works on my machine. ( I think this suggestion i have already given earlier but i missed (fraction) part in framerate caps ) </div>

<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 !&nbsp; 'video/x-h263,width=320,height=240,framerate=(fraction)25/1' ! avimux ! filesink location=test.avi<br>
<br><br></div>
<div class="EC_gmail_quote">On Mon, Jun 1, 2009 at 7:08 PM, sudarshan bisht <span dir="ltr">&lt;<a>bisht.sudarshan@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="EC_gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi ,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;Actually i treid following pipeline on my machine , and it works . ( I dont have webcam so tried it using videotestsrc) .</div>
<div>&nbsp;</div>
<div>gst-launch videotestsrc ! 'video/x-raw-yuv,width=320,heigh=240,framerate=(fraction)25/1,format=(fourcc)I420' !&nbsp; ffenc_h263p ! rtph263ppay ! udpsink port=5000</div>
<div>&nbsp;</div>
<div>&nbsp; gst-launch&nbsp; 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>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;And ensure that u have latest Gstreamer installed . </div>
<div>
<div></div>
<div class="h5">
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;<br><br></div></div></div></blockquote></div><br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009' target='_new'>Check it out!</a></body>
</html>