Record wav file from rtp stream

Gstlili ti_mourad at yahoo.fr
Mon Apr 21 06:57:26 PDT 2014


Hi, all !

I need to record audio from incoming udp stream, and convert it to wav
format.

I have two problems:

First: 

The following pipeline record the played video without sound !!!

sender: 

gst-launch-0.10 -e -v filesrc location=/home/media/example.mp4 ! qtdemux !
h264parse ! queue ! ffdec_h264 ! x264enc ! video/x-h264 ! rtph264pay pt=96 !
udpsink host=127.0.0.1 port=1234 sync=false 

receiver: 

gst-launch-0.10 udpsrc port=1234
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
! gstrtpjitterbuffer latency=100 ! rtph264depay ! mpegtsmux ! filesink
location=/home/mtlili/audio_record.mp4


Second:
I change the receiver pipeline to save a wav file format but i doesn't work 
:

gst-launch-0.10 udpsrc port=1234
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
! gstrtpjitterbuffer latency=100 ! rtph264depay ! mpegtsmux ! audioconvert !
wavenc ! filesink location=file.wav

I receive : WARNING: erroneous pipeline: could not link mpegtsmux0 to
audioconvert0.

what should i do ?

Thanks in advance




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Record-wav-file-from-rtp-stream-tp4666512.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list