[gst-devel] How to save a stream from a network into a file

Zelalem Sintayehu zelalems at hotmail.com
Mon Jun 1 14:51:58 CEST 2009


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:
WARNING: erroneous pipeline: could not parse caps "video/x-h263,width=176,height=144,framerate=25\"
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.

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:
streaming task paused, reason not-negotiated (-4)

I don't know what is hapening.

BTW, on the sender side I used the following command:
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

I hope this will give you the clue about the problem. I run the command on Ubuntu Interpid.

Thank you.

- Zelalem S. 

- Zelalem S. 

Date: Mon, 1 Jun 2009 13:52:34 +0530
From: bisht.sudarshan at gmail.com
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] How to save a stream from a network into a file

Hi ,
 
 for exapmle try these  :- 
 
         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


or 
 
 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


 
 
_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090601/38ecd556/attachment.htm>


More information about the gstreamer-devel mailing list