[gst-devel] Problem with Recording Audio from a Network

Jyoti jyoti.d at allaboutif.com
Thu Jun 11 08:33:03 CEST 2009


You should set caps property on udpsrc element at receiver side.

On Wed, Jun 10, 2009 at 7:26 PM, Zelalem Sintayehu <zelalems at hotmail.com>wrote:

>  Hi all, I was trying to record audio and video over the network. I wanted
> to check that separately and succeeded with the video recording, but i
> couldn't record the audio part. BTW, I want to record into avi file and I
> used h263p for the video and wanted to use either amr or gsm for the audio.
> I hope this is possible. The following is my code both from teh sender and
> reciever side.
>
> Sender:
> gst-launch-0.10 -v alsasrc ! queue !
> audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! gsmenc !
> rtpgsmpay ! queue ! udpsink port=5002
>
> Receiver:
>
> gst-launch-0.10 -v udpsrc port=5002 ! queue ! rtpgsmdepay !
> audio/x-raw-int,rate=8000,channels=1,depth=8 ! avimux ! filesink
> location=audio.avi sync=false
>
> and I got the following error and it terminates.  "WARNING: erroneous
> pipeline: could not link rtpgsmdepay0 to avimux0. By the way, when i store
> both the video later, should i still put "sync=false" (the last statement in
> the reciever code)?
>
>
> Please help me.
>
>
> Thank you.
>
> - Zelalem S.
>
>
> ------------------------------
> Windows Live™: Keep your life in sync. Check it out!<http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090611/ac0e4be3/attachment.htm>


More information about the gstreamer-devel mailing list