HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

brad2012
Hi All,


I run gst-launch command like :
# gst-launch-0.10 playbin2 uri=http://192.168.1.3:9000/disk/DLNA-PNWMABASE-OP11-FLAGS01700000/O0$1$8I17421.mp3

gst-launch can download the audio file completely and start to play.
but there is no any sound output from USB sound card.
After checking the audio data that will feed to usb sound card.
the data ethier 0x00 or 0xFF.



the CPU is 400MHz, system memory is 32MB, CPU is lexra (MIPS like)

Does anyone have idea why gstreamer decode MP3 seems has something wrong on the lexra CPU?
Where I can check about gst-launch pipeline?


Any input is very appreciated!!


Best Regards,
Soho

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

Tim Müller
On Thu, 2013-11-14 at 23:52 +0800, Diaz Soho wrote:

Hi,

> Does anyone have idea why gstreamer decode MP3 seems has something
> wrong on the lexra CPU?
>
> Where I can check about gst-launch pipeline?

Pass -v to gst-launch to see what elements are involved.

Would be good to know what mp3 decoder is used on your system.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

brad2012
hi Tim,


the log of gst-launch with -v option as below,
but it is confused, which point will get wrong in the progress,
it includes decode, audio convvert, audio re-sample.
Do you have any idea?

# # gst-launch-0.10 -v playbin2 uri=http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F
LAGS01700000/O0$1$8I28173.mp3
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = 4000000000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-FLAGS01700000/O0I28173.mp3"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstSoupHTTPSrc) source
Pipeline is PREROLLING ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0.GstPad:src: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind: force-caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: sink-caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-id3
buffering... 0%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstQueue2:queue20.GstPad:sink: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstQueue2:queue20.GstPad:src: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink.GstProxyPad:proxypad0: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:sink: caps = application/x-id3
buffering... 1%  buffering... 2%  buffering... 3%  buffering... 4%  buffering... 5%  buffering... 6%  buffering... 7%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
buffering... 8%  buffering... 9%  buffering... 10%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
buffering... 11%  buffering... 12%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: always-ok = FALSE
buffering... 13%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0: active-pad = (GstSelectorPad) sink0
buffering... 14%  buffering... 15%  buffering... 16%  buffering... 17%  buffering... 18%  buffering... 19%  buffering... 20%  buffering... 21%  buffering... 22%  buffering... 23%  buffering... 24%  buffering... 25%  buffering... 26%  buffering... 27%  buffering... 28%  buffering... 29%  buffering... 30%  buffering... 31%  buffering... 32%  buffering... 33%  buffering... 34%  buffering... 35%  buffering... 36%  buffering... 37%  buffering... 38%  buffering... 39%  buffering... 40%  buffering... 41%  buffering... 42%  buffering... 43%  buffering... 44%  buffering... 45%  buffering... 46%  buffering... 47%  buffering... 48%  /GstPlayBin2:playbin20/GstPlaySink:playsink0: volume = 1.000000
buffering... 49%  /GstPlayBin2:playbin20/GstPlaySink:playsink0: mute = FALSE
buffering... 50%  buffering... 51%  buffering... 52%  buffering... 53%  buffering... 54%  buffering... 55%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x5a8fc8)
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x5a8d08)
buffering... 56%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x5a8fb0)
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMad:mad0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x5a9018)
buffering... 57%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 58%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMad:mad0.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 59%  buffering... 60%  buffering... 61%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee: alloc-pad = (GstPad) src0
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0.GstProxyPad:proxypad6: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0.GstProxyPad:proxypad5: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 62%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:src0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 63%  /GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_sink.GstProxyPad:proxypad7: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstQueue:aqueue.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 64%  buffering... 65%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad11: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstQueue:aqueue.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 66%  buffering... 67%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x626f60)
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x626ec8)
buffering... 68%  buffering... 69%  buffering... 70%  buffering... 71%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink.GstProxyPad:proxypad9: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
buffering... 72%  buffering... 73%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
buffering... 74%  buffering... 75%  buffering... 76%  buffering... 77%  buffering... 76%  buffering... 77%  buffering... 78%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
buffering... 79%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstVolume:volume.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstVolume:volume.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
buffering... 80%  /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src.GstProxyPad:proxypad10: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink.GstProxyPad:proxypad8: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
buffering... 81%  buffering... 82%  buffering... 83%  buffering... 84%  buffering... 85%  buffering... 86%  buffering... 87%  buffering... 88%  buffering... 89%  buffering... 90%  buffering... 91%  buffering... 92%  buffering... 93%  buffering... 94%  buffering... 95%  buffering... 96%  buffering... 97%  buffering... 98%  buffering... 100%  Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock



2013/11/15 Tim Müller <[hidden email]>
On Thu, 2013-11-14 at 23:52 +0800, Diaz Soho wrote:

Hi,

> Does anyone have idea why gstreamer decode MP3 seems has something
> wrong on the lexra CPU?
>
> Where I can check about gst-launch pipeline?

Pass -v to gst-launch to see what elements are involved.

Would be good to know what mp3 decoder is used on your system.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

harishjennykn
Are you able to get any sound from your USB sound card ?

Does this pipeline make any sound ?
gst-launch audiotestsrc ! alsasink ?

In any case you might have to specify the device name , for example 'hw:0,1' or 'hw:1,0'

Regards,
Harish Jenny
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

brad2012



2013/11/15 harishjennykn <[hidden email]>
Are you able to get any sound from your USB sound card ?

Does this pipeline make any sound ?
gst-launch audiotestsrc ! alsasink ?

In any case you might have to specify the device name , for example 'hw:0,1'
or 'hw:1,0'


hi ,

the pipeline can play .wav file,
it is fail when the pipeline play .mp3 file.
since the audio data feed to usb sound is either 0x00 or 0xFF,

no sound  heard from usb sound card.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

harishjennykn
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

Tim Müller
In reply to this post by brad2012
On Fri, 2013-11-15 at 16:25 +0800, Diaz Soho wrote:

Hi,

> the log of gst-launch with -v option as below,
>
> but it is confused, which point will get wrong in the progress,
>
> it includes decode, audio convvert, audio re-sample.
>
> Do you have any idea?
>
> # # gst-launch-0.10 -v playbin2
> uri=http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F
> LAGS01700000/O0$1$8I28173.mp3

Looks like 'mad' is being used for mp3 decoding (possibly not the most
efficient decoder for embedded system).

I think you'll have to simplify the pipeline and try things like:


gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! fakesink dump=true

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! alsasink

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! audioconvert ! alsasink

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! audioconvert ! audio/x-raw-int,width=16 !
alsasink

etc.

Shouldn't there be some mp3 decoder that makes use of the DSP on the
Lexra system? (Maybe it needs to be wrapped into a GStreamer element)

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

brad2012


> # # gst-launch-0.10 -v playbin2
> uri=http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F
> LAGS01700000/O0$1$8I28173.mp3

Looks like 'mad' is being used for mp3 decoding (possibly not the most
efficient decoder for embedded system).

I think you'll have to simplify the pipeline and try things like:


gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! fakesink dump=true

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! alsasink

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! audioconvert ! alsasink

gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
mpegaudioparse ! mad ! audioconvert ! audio/x-raw-int,width=16 !
alsasink

etc.

Shouldn't there be some mp3 decoder that makes use of the DSP on the
Lexra system? (Maybe it needs to be wrapped into a GStreamer element)

======================================================


Hi Tim,


Thanks a lot for your input!
I will try it.
And there is no DSP support by my embedd Lexra CPU.
Do you mean maybe I have to use another mp3 decoder that may have more  efficient than mad, right?
As your opinion, which mp3 decoder have more efficient that most people used?


thanks again!!


Best Regards,
Soho


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HELP gst-launch can not decode mp3 normally when running on lexra(MIPS like) CPU

Sebastian Dröge-3
On Fr, 2013-11-15 at 21:59 +0800, Diaz Soho wrote:

> > # # gst-launch-0.10 -v playbin2
> > > uri=http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F
> > > LAGS01700000/O0$1$8I28173.mp3
> >
> > Looks like 'mad' is being used for mp3 decoding (possibly not the most
> > efficient decoder for embedded system).
> >
> > I think you'll have to simplify the pipeline and try things like:
> >
> >
> > gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
> > mpegaudioparse ! mad ! fakesink dump=true
> >
> > gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
> > mpegaudioparse ! mad ! alsasink
> >
> > gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
> > mpegaudioparse ! mad ! audioconvert ! alsasink
> >
> > gst-launch-0.10 http://192.168.1.3:9000/disk/DLNA-PNMP3-OP01-F !
> > mpegaudioparse ! mad ! audioconvert ! audio/x-raw-int,width=16 !
> > alsasink
> >
> > etc.
> >
> > Shouldn't there be some mp3 decoder that makes use of the DSP on the
> > Lexra system? (Maybe it needs to be wrapped into a GStreamer element)
> >
> > ======================================================
>
>
>
> Hi Tim,
>
>
> Thanks a lot for your input!
> I will try it.
> And there is no DSP support by my embedd Lexra CPU.
> Do you mean maybe I have to use another mp3 decoder that may have more
> efficient than mad, right?
> As your opinion, which mp3 decoder have more efficient that most people
> used?
The one based on mpg123 should be faster (mpg123audiodec) or the one
from libav (avdec_mp3, or ffdec_mp3 if you still use GStreamer 0.10).

--
Sebastian Dröge <[hidden email]>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (985 bytes) Download Attachment