[gst-devel] Problem in using ffdec_mp3 to decode live streaming

Puneeth puneeth.mv at globaledgesoft.com
Thu Jan 6 12:48:21 CET 2011


Hi All,

       I m facing problem in decoding mp3 using ffdec_mp3 when i m capturing
audio and listening to it, but  i m able to hear when i am using mad decoder
with the below command, but there  are some glitches when i replace mad with
ffdec_mp3.
But i m able to playback the saved file using ffplay which i have captured.
So i guess ffdec is not capable of decoding  
the live streaming data, i need some help to solve this bug. Any help will
be greatly appreciated. Thanks in advance.

sudo gst-launch gstrtpbin name=rtpbin alsasrc ! audioconvert ! audioresample
! lamemp3enc ! rtpmpapay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !
udpsink port=5002 host=127.0.0.1 rtpbin.send_rtcp_src_0 ! udpsink port=5003
host=127.0.0.1 sync=false async=false udpsrc port=5007 !
rtpbin.recv_rtcp_sink_0

sudo gst-launch gstrtpbin name=rtpbin udpsrc
caps="application/x-rtp,media=(string)audio,clock-rate=(int)90000,encoding-name=(string)MPA,pt=(int)96"
port=5002 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpmpadepay ! mp3parse ! mad !
audioconvert ! volume volume=10 ! audioresample quality=10 ! alsasink udpsrc
port=5003 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink
port=5007 host=127.0.0.1 sync=false async=false
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-in-using-ffdec-mp3-to-decode-live-streaming-tp3177271p3177271.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list