This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[SOLVED] mp3 decoding with noise

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi

I have OMAP-L138 and use DVSDK 04.03.00.06. I have integrated the mp3 decoder (v. 1.31.01.001) following the wiki page 'How do I Integrate new codecs into DVSDK'.

I have also modified gstticodecs_omapl138.c, in ti-dvsdk_omapl138-evm_04_03_00_06/gstreamer-ti_svnr919/src/ directory, to add mp3 support to gstreamer:

    {
        "MPEG1L3 Audio Decoder",     /* String name of codec used by plugin      */
        "mp3dec",              /* String name of codec used by CE          */
        codecServer              /* Engine that contains this codec          */
    },
    {
        "MPEG1L2 Audio Decoder",     /* String name of codec used by plugin      */
        "mp3dec",              /* String name of codec used by CE          */
        codecServer              /* Engine that contains this codec          */
    },

It works using gst-launch:

gst-launch filesrc location=davinci.mp3 num-buffers=20 ! typefind ! TIAuddec1 ! alsasink -v

(the file davinci.mp3 is provided as a test with mp3 decoder)

The process goes on without errors, but you hear a noise. I have redirected the output to a wav file in this way:

gst-launch filesrc location=davinci.mp3 num-buffers=20 ! typefind ! TIAuddec1 ! wavenc ! filesink location=davinci.wav -v

 so you can download and hear it. The file is https://webmail.powersoft.it/download/davinci.wav

Is it a bug of the decoder?

How can I avoid this noise?


best regards