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 |
Have you looked at the debug logs? (You could start with level 3) Did you find anything out of place there? May be a warning or something?
Also, I suggest you take logs for both the decoders and compare them. You should be able to spot the problem.
Rohit
On Thu, Jan 6, 2011 at 5:18 PM, Puneeth <puneeth.mv@globaledgesoft.com> wrote:
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Puneeth
Hi All
I could not resolve this problem, still i m facing same problem using ffdec_mp3 to decode and playback the output of lame encoder.This is working fine with mad decoder, is there any LGPL mp3 decoders which works fine for the belpw command. Please let me know if there r any, 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 The above command works fine, but when i replace with ffdec_mp3 there is lot of noice, how could i solve this or is there any other LGPL decoders which would do the needful. Please help. |
On Mon, Jan 10, 2011 at 4:10 PM, Puneeth <[hidden email]> wrote:
> The above command works fine, but when i replace with ffdec_mp3 there is lot > of noice, how could i solve this or is there any other LGPL decoders which > would do the needful. Please help. Maybe you could try gst-av[1], it can use FFmpeg (libavcodec) just like gst-ffmpeg, but it's much simpler. It's definitely not production-ready, but being only 455 lines of code I think you might be able to find the issues ;) [1] https://github.com/felipec/gst-av -- Felipe Contreras ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |