mp3 parser and decoder connection problem in gst-launch

mohid mohideensaad at gmail.com
Wed Aug 24 04:05:37 PDT 2011


Hi all,

I have a custom mp3 parser and decoder plugins

Its caps are

Parser caps
sink: GST_STATIC_CAPS ("application/x-id3")
    
src:  GST_STATIC_CAPS ("audio/mpeg, "
        "width = (int) 16, "
        "depth = (int) 16, "
        "endianness = (int) BYTE_ORDER, "
        "signed = (boolean) true, "
        "channels = (int) [ 1, 2 ], "
        "rate = (int) { 8000, 11025, 12000, 16000, 22050, 24000, 32000,
44100, 48000 };")

Decoder caps
sink:  GST_STATIC_CAPS ("audio/mpeg, "
        "width = (int) 16, "
        "depth = (int) 16, "
        "endianness = (int) BYTE_ORDER, "
        "signed = (boolean) true, "
        "channels = (int) [ 1, 2 ], "
        "rate = (int) { 8000, 11025, 12000, 16000, 22050, 24000, 32000,
44100, 48000 };")

src: GST_STATIC_CAPS ("audio/x-raw-int, "
        "width = (int) 16, "
        "depth = (int) 16, "
        "endianness = (int) BYTE_ORDER, "
        "signed = (boolean) { TRUE, FALSE }, "
        "channels = (int) [ 1, MAX ], "
        "rate = (int) [ 1, MAX ];")

I get the below error in gst-launch
[elxsi at tedsptest14 ~]$ gst-launch-0.10 -v filesrc
location=/home/Fisiliye.mp3 ! mp3parser ! omxmp3dec ! alsasink

WARNING: erroneous pipeline: could not link omxmp3dec0 to alsasink0

But if I replace the "audio/mpeg " mimetype with "audio/x-raw-int", it is
working.

Please help in this regard

Thanks and Regards,
Mohid

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/mp3-parser-and-decoder-connection-problem-in-gst-launch-tp3764997p3764997.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list