play g711 audio on pipeline- not working

Dudi.r dudi017 at gmail.com
Wed Mar 19 01:55:50 PDT 2014


Hi,

I have g711 inside RTP stream. I need to play\save it into file (not
simultaneously).

after searching, I haven't fount any rtpg711depay, only rtpg722depay.

so I tried to run this pipeline :


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" ! *rtpg722depay*  ! autoaudiosink

but I get this error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2633): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

is the error because the difference between g711 and g722?  if so, how can I
extract the g711 and play\save it?

thanks!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/play-g711-audio-on-pipeline-not-working-tp4666014.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list