save audio into file

Dudi.r dudi017 at gmail.com
Wed Mar 19 03:16:48 PDT 2014


Hi,

I need to save G711 from RTP stream into file.

so far I have this pipeline (play the audio- working):

gst-launch-0.10 filesrc location=wave.pcap ! pcapparse src-port=40376 !
"application/x-rtp, payload=(int)18, media=(string)audio,
clock-rate=(int)8000, encoding-name=PCMA" !rtppcmadepay  ! alawdec !
autoaudiosink

now Im trying to save it into file but I couldn't make it work..

I tried to add lamemp3enc ->  

.... !rtppcmadepay  ! alawdec ! lamemp3enc ! filesink location=wave.mp3
 or
.... !rtppcmadepay  ! lamemp3enc ! filesink location=wave.mp3

but I get :"no element "lamemp3enc""



I will be happy for some help with saving the audio into file :)

thanks!




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/save-audio-into-file-tp4666016.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list