problem decoding audio from MPEG-4 ES

Rufael Mekuria R.N.Mekuria at cwi.nl
Mon Jun 25 11:16:13 PDT 2012



Dear All,

I have some issues extracting (decoding) MPEG-4 ES data (in this case audio) at the receiver

my pipelines are:


sender:

gst-launch filesrc location=test.m4a ! qtdemux name=demux demux.audio_00 ! rtpmp4gpay ! udpsink port=5000


receiver:

gst-launch-0.10  udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)MPEG4-GENERIC,streamtype=(string)4,mode=(string)generic,payload=(int)96"  port=5000 ! rtpmp4gdepay ! faad ! audiorate ! audioconvert ! alsasink

cannot parse the stream with faad, while the right caps on the udpsrc have been set

with receiver pipeline:

gst-launch-0.10  udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)MPEG4-GENERIC,streamtype=(string)4,mode=(string)generic,payload=(int)96"  port=5000 ! rtpmp4gdepay ! fakesink dump=true 

I can see the incoming stream dumped on the command window, 

for instance the pipeline:

gst-launch-0.10 filesrc location=test.m4a ! qtdemux name=demux demux.audio_00 ! rtpmp4gpay ! rtpmp4gdepay ! faad ! audioconvert ! audiorate ! alsasink

without UDP works fine,

I am confused about this,

any help is highly appreciated,

kind regards,

Rufael Mekuria




More information about the gstreamer-devel mailing list