Yocto Dizzy 1.7.1
Image built: fsl-image-multimedia-full
Board: i.mx6 SabreLite
When launching this simple gsteramer pipiline:
# gst-launch-1.0 filesrc location=mp3/fly.mp3 ! decodebin ! audioconvert ! volume volume=1.0 ! alsasink
everything is ok. But if I set the volume level to something different from exactly 1.0 I ear no
audio anymore.
Tried with different values (0.90, 0.1, 0.99999999,, etc) with same result.
Same problem with gst-launch-0.10 and/or jackaudiosink.
Already tried to put audioconvert/audioresample plugins in different locations.
I inserted a 'level' plugin to measure the audio level and noticed that when volume
is not 1.0 the output level is incredibly low and always like:
rms=(double){ -699.99999984363217, -699.99999984363217 }, peak=(double){ -349.99999992181608, -349.99999992181608 }, decay=(double){ -349.99999992181608, -349.99999992181608 };
which seems floor noise to me...
I've also tried using mad/beepdec directly without decodebin and th resut is the same...
Also same results playing a wav file, so I guess it is a frescale-alsasink specific problem,
but there I'm lost...
Any help greatly appreciated :-D
Complete logs below. Tnx.
Complete log with gstreamer-0.10 and volume set to 1.0 (audio ok):
# gst-launch-0.10 -m -v filesrc location=mp3/fly.mp3 ! decodebin ! audioconvert ! volume volume=1.0 ! level interval=1000000000 ! alsasink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
Pipeline is PREROLLING ...
Got message #10 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
Got message #11 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #12 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #13 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #14 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #15 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #16 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #17 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #18 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
Got message #21 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #22 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #23 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #26 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #30 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ mpegaudioparse0:sink";
Got message #31 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #32 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #33 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #34 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ mpegaudioparse0:sink";
Got message #35 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #42 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/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
Beep: 3.0.11
Core: MP3 decoder Wrapper build on Mar 21 2014 15:04:50
mime: audio/mpeg, mpegversion = (int)1
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.3
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Apr 10 2014 15:26:15.
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstBeepdec1:beepdec10.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstBeepdec1:beepdec10.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad1: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstLevel:level0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstLevel:level0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Got message #44 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_READY;
Got message #47 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #48 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_NULL;
Got message #49 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #50 from element "mpegaudioparse0" (tag): taglist, audio-codec=(string)"MPEG\ 1\ Audio\,\ Layer\ 3\ \(MP3\)", nominal-bitrate=(uint)128000, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #52 from element "mpegaudioparse0" (tag): taglist, has-crc=(boolean)false, channel-mode=(string)joint-stereo, source-pad=(GstPad)"\(GstPad\)\ src";
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Got message #54 from element "beepdec10" (tag): taglist, channels=(uint)2, bitrate=(uint)128000, sampling_frequency=(uint)44100, audio-codec=(string)"MPEG-1\ Layer\ 3";
Got message #55 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ alsasink0", object=(gpointer)NULL;
Got message #56 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #59 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Pipeline is PREROLLED ...
Got message #58 from element "pipeline0" (async-done): no message details
Setting pipeline to PLAYING ...
Got message #60 from element "pipeline0" (new-clock): GstMessageNewClock, clock=(GstClock)"\(GstAudioClock\)\ GstAudioSinkClock";
New clock: GstAudioSinkClock
Got message #62 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #63 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #64 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #65 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #66 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #67 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #68 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #69 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #70 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #71 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #73 from element "mpegaudioparse0" (tag): taglist, minimum-bitrate=(uint)128012, bitrate=(uint)127981, maximum-bitrate=(uint)128012, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #75 from element "mpegaudioparse0" (tag): taglist, minimum-bitrate=(uint)127706, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #76 from element "level0" (element): level, endtime=(guint64)1018775510, timestamp=(guint64)0, stream-time=(guint64)0, running-time=(guint64)0, duration=(guint64)1018775510, rms=(double){ -24.011336999131117, -24.010327438238139 }, peak=(double){ -7.1399394854177949, -7.9834869475834722 }, decay=(double){ -8.1215721404177934, -7.9834869475834722 };
Got message #77 from element "mpegaudioparse0" (duration): GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME, duration=(gint64)241663000000;
Got message #78 from element "level0" (element): level, endtime=(guint64)2037550982, timestamp=(guint64)1018775472, stream-time=(guint64)1018775472, running-time=(guint64)1018775472, duration=(guint64)1018775510, rms=(double){ -21.528405100808101, -21.482811598144984 }, peak=(double){ -7.9351085412376019, -7.9668886439693392 }, decay=(double){ -8.9167411962376004, -9.5580028620884008 };
Got message #79 from element "level0" (element): level, endtime=(guint64)3056326454, timestamp=(guint64)2037550944, stream-time=(guint64)2037550944, running-time=(guint64)2037550944, duration=(guint64)1018775510, rms=(double){ -21.248834547516434, -21.038660304650143 }, peak=(double){ -8.5200815337176756, -7.9192619879016446 }, decay=(double){ -9.5017141887176759, -7.9192619879016446 };
^CCaught interrupt -- handling interrupt.
Got message #80 from element "pipeline0" (application): GstLaunchInterrupt, message=(string)"Pipeline\ interrupted";
Interrupt: Stopping pipeline ...
Complete log with gstreamer-0.10 and volume set to 0.9 (no audio):
# gst-launch-0.10 -m -v filesrc location=mp3/fly.mp3 ! decodebin ! audioconvert ! volume volume=0.9 ! level interval=1000000000 ! alsasink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
Pipeline is PREROLLING ...
Got message #10 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
Got message #11 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #12 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #13 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #14 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #15 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #16 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #17 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #18 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
Got message #21 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #22 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #23 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #26 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #30 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ mpegaudioparse0:sink";
Got message #31 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #32 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #33 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #34 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ mpegaudioparse0:sink";
Got message #35 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #42 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/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
Beep: 3.0.11
Core: MP3 decoder Wrapper build on Mar 21 2014 15:04:50
mime: audio/mpeg, mpegversion = (int)1
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.3
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Apr 10 2014 15:26:15.
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstBeepdec1:beepdec10.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstBeepdec1:beepdec10.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad1: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstLevel:level0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstLevel:level0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Got message #44 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_READY;
Got message #47 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #48 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_NULL;
Got message #49 from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #50 from element "mpegaudioparse0" (tag): taglist, audio-codec=(string)"MPEG\ 1\ Audio\,\ Layer\ 3\ \(MP3\)", nominal-bitrate=(uint)128000, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #52 from element "mpegaudioparse0" (tag): taglist, has-crc=(boolean)false, channel-mode=(string)joint-stereo, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #54 from element "beepdec10" (tag): taglist, channels=(uint)2, bitrate=(uint)128000, sampling_frequency=(uint)44100, audio-codec=(string)"MPEG-1\ Layer\ 3";
Got message #55 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ alsasink0", object=(gpointer)NULL;
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Got message #56 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #59 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Got message #60 from element "pipeline0" (new-clock): GstMessageNewClock, clock=(GstClock)"\(GstAudioClock\)\ GstAudioSinkClock";
New clock: GstAudioSinkClock
Got message #58 from element "pipeline0" (async-done): no message details
Got message #62 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #63 from element "level0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #64 from element "volume0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #65 from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #66 from element "beepdec10" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #67 from element "mpegaudioparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #68 from element "typefind" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #69 from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #70 from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #71 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #73 from element "mpegaudioparse0" (tag): taglist, minimum-bitrate=(uint)128012, bitrate=(uint)127981, maximum-bitrate=(uint)128012, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #75 from element "mpegaudioparse0" (tag): taglist, minimum-bitrate=(uint)127706, source-pad=(GstPad)"\(GstPad\)\ src";
Got message #76 from element "level0" (element): level, endtime=(guint64)1018775510, timestamp=(guint64)0, stream-time=(guint64)0, running-time=(guint64)0, duration=(guint64)1018775510, rms=(double){ -699.99999984363217, -699.99999984363217 }, peak=(double){ -349.99999992181608, -349.99999992181608 }, decay=(double){ -349.99999992181608, -349.99999992181608 };
Got message #77 from element "mpegaudioparse0" (duration): GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME, duration=(gint64)241663000000;
Got message #78 from element "level0" (element): level, endtime=(guint64)2037550982, timestamp=(guint64)1018775472, stream-time=(guint64)1018775472, running-time=(guint64)1018775472, duration=(guint64)1018775510, rms=(double){ -699.99999984363217, -699.99999984363217 }, peak=(double){ -349.99999992181608, -349.99999992181608 }, decay=(double){ -349.99999992181608, -349.99999992181608 };
Got message #79 from element "level0" (element): level, endtime=(guint64)3056326454, timestamp=(guint64)2037550944, stream-time=(guint64)2037550944, running-time=(guint64)2037550944, duration=(guint64)1018775510, rms=(double){ -699.99999984363217, -699.99999984363217 }, peak=(double){ -349.99999992181608, -349.99999992181608 }, decay=(double){ -349.99999992181608, -349.99999992181608 };
^CCaught interrupt -- Got message #80 from element "level0" (element): level, endtime=(guint64)4075101926, timestamp=(guint64)3056326416, stream-time=(guint64)3056326416, running-time=(guint64)3056326416, duration=(guint64)1018775510, rms=(double){ -699.99999984363217, -699.99999984363217 }, peak=(double){ -349.99999992181608, -349.99999992181608 }, decay=(double){ -349.99999992181608, -349.99999992181608 };
handling interrupt.
Got message #81 from element "pipeline0" (application): GstLaunchInterrupt, message=(string)"Pipeline\ interrupted";
Interrupt: Stopping pipeline ...
Same no-audio pipeline with gstreamer-1.0:
(note thato due to a bug(?) in gst-launch-1.0 the level values are always shown as NULL values.
See below for a dump-trick with level)
# gst-launch-1.0 -m -v filesrc location=mp3/fly.mp3 ! decodebin ! audioconvert ! volume volume=0.9 ! level interval=1000000000 ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got message #14 from element "alsasink0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #15 from element "level0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #16 from element "volume0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #17 from element "audioconvert0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #18 from element "typefind" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #19 from element "decodebin0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #20 from element "filesrc0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #21 from element "pipeline0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
Got message #24 from element "level0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #25 from element "volume0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #26 from element "audioconvert0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #31 from pad "typefind:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE, owner=(GstElement)"\(GstTypeFindElement\)\ typefind", object=(GstTask)"\(GstTask\)\ typefind:sink";
Got message #32 from element "typefind" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #33 from element "filesrc0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #34 from pad "typefind:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstTypeFindElement\)\ typefind", object=(GstTask)"\(GstTask\)\ typefind:sink";
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = "audio/mpeg\,\ mpegversion\=\(int\)1\,\ layer\=\(int\)3\,\ parsed\=\(boolean\)false"
Got message #50 from element "mpegaudioparse0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = "NULL"
Got message #55 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ task1";
Got message #56 from element "mpegaudioparse0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #57 from pad "mpegaudioparse0:sink" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstMpegAudioParse\)\ mpegaudioparse0", object=(GstTask)"\(GstTask\)\ mpegaudioparse0:sink";
Got message #80 from element "imxaudiouniaudiodec0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/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"
Got message #84 from element "imxaudiouniaudiodec0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstImxAudioUniaudioDec:imxaudiouniaudiodec0.GstPad:sink: caps = "audio/mpeg\,\ mpegversion\=\(int\)1\,\ mpegaudioversion\=\(int\)1\,\ layer\=\(int\)3\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ parsed\=\(boolean\)true"
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Apr 10 2014 15:26:15.
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstImxAudioUniaudioDec:imxaudiouniaudiodec0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
Got message #93 from element "decodebin0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #58 from element "pipeline0" (stream-start): GstMessageStreamStart, group-id=(uint)1;
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstLevel:level0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
Got message #99 from object "audiosinkringbuffer0" (stream-status): /GstPipeline:pipeline0/GstLevel:level0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ alsasink0", object=(GThread)NULL;
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad1: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
Got message #101 from element "alsasink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ nominal-bitrate\=\(uint\)128000\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\;";
Got message #102 from element "alsasink0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #105 from element "pipeline0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Pipeline is PREROLLED ...
Got message #104 from element "pipeline0" (async-done): GstMessageAsyncDone, running-time=(guint64)18446744073709551615;
Setting pipeline to PLAYING ...
Got message #106 from element "pipeline0" (new-clock): GstMessageNewClock, clock=(GstClock)"\(GstAudioClock\)\ GstAudioSinkClock";
New clock: GstAudioSinkClock
Got message #108 from element "alsasink0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #109 from element "level0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #110 from element "volume0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #111 from element "audioconvert0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #112 from element "imxaudiouniaudiodec0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #113 from element "mpegaudioparse0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #114 from element "typefind" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #115 from element "decodebin0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #116 from element "filesrc0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #117 from element "pipeline0" (state-changed): GstMessageStateChanged, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #120 from element "alsasink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ nominal-bitrate\=\(uint\)128000\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)128012\,\ bitrate\=\(uint\)127981\,\ maximum-bitrate\=\(uint\)128012\;";
Got message #123 from element "alsasink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ nominal-bitrate\=\(uint\)128000\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)127706\,\ bitrate\=\(uint\)127981\,\ maximum-bitrate\=\(uint\)128012\;";
Got message #124 from element "level0" (element): level, endtime=(guint64)1026122448, timestamp=(guint64)26122448, stream-time=(guint64)26122448, running-time=(guint64)26122448, duration=(guint64)1000000000, rms=(GValueArray)NULL, peak=(GValueArray)NULL, decay=(GValueArray)NULL;
Got message #125 from element "mpegaudioparse0" (duration-changed): GstMessageDurationChanged;
Got message #126 from element "level0" (element): level, endtime=(guint64)2026122448, timestamp=(guint64)1026122448, stream-time=(guint64)1026122448, running-time=(guint64)1026122448, duration=(guint64)1000000000, rms=(GValueArray)NULL, peak=(GValueArray)NULL, decay=(GValueArray)NULL;
Got message #127 from element "level0" (element): level, endtime=(guint64)3026122448, timestamp=(guint64)2026122448, stream-time=(guint64)2026122448, running-time=(guint64)2026122448, duration=(guint64)1000000000, rms=(GValueArray)NULL, peak=(GValueArray)NULL, decay=(GValueArray)NULL;
^Chandling interrupt.
Got message #128 from element "pipeline0" (application): GstLaunchInterrupt, message=(string)"Pipeline\ interrupted";
# GST_DEBUG_NO_COLOR=1 GST_DEBUG="level:8" gst-launch-1.0 2>&1 filesrc location=mp3/fly.mp3 ! decodebin ! audioconvert ! volume volume=0.9 ! level interval=1000000000 ! alsasink | grep "message: "
[...]/gstlevel.c:714:gst_level_post_message:<level0> message: ts 0:00:00.026122448, duration 0:00:01.000000000, num_frames 44100
[...]/gstlevel.c:722:gst_level_post_message:<level0> message: channel 0, CS 0.000000, RMS 0.000000
[...]/gstlevel.c:725:gst_level_post_message:<level0> message: last_peak: 0.000000, decay_peak: 0.000000
[...]/gstlevel.c:742:gst_level_post_message:<level0> message: RMS -700.000000 dB, peak -350.000000 dB, decay -350.000000 dB
[...]/gstlevel.c:722:gst_level_post_message:<level0> message: channel 1, CS 0.000000, RMS 0.000000
[...]/gstlevel.c:725:gst_level_post_message:<level0> message: last_peak: 0.000000, decay_peak: 0.000000
[...]/gstlevel.c:742:gst_level_post_message:<level0> message: RMS -700.000000 dB, peak -350.000000 dB, decay -350.000000 dB
[...]/gstlevel.c:714:gst_level_post_message:<level0> message: ts 0:00:01.026122448, duration 0:00:01.000000000, num_frames 44100
[...]/gstlevel.c:722:gst_level_post_message:<level0> message: channel 0, CS 0.000000, RMS 0.000000
[...]/gstlevel.c:725:gst_level_post_message:<level0> message: last_peak: 0.000000, decay_peak: 0.000000
[...]/gstlevel.c:742:gst_level_post_message:<level0> message: RMS -700.000000 dB, peak -350.000000 dB, decay -350.000000 dB
[...]/gstlevel.c:722:gst_level_post_message:<level0> message: channel 1, CS 0.000000, RMS 0.000000
[...]/gstlevel.c:725:gst_level_post_message:<level0> message: last_peak: 0.000000, decay_peak: 0.000000
[...]/gstlevel.c:742:gst_level_post_message:<level0> message: RMS -700.000000 dB, peak -350.000000 dB, decay -350.000000 dB
[...]/gstlevel.c:714:gst_level_post_message:<level0> message: ts 0:00:02.026122448, duration 0:00:01.000000000, num_frames 44100
Solved! Go to Solution.
Tested and can confirm that the above patch solves the problem :smileyhappy:
Attached you can find a recipe with the above patch for gstreamer1.0 and one adapted for gstreamer0.10.36.
Simply uncompress it in your private layer and do:
$ bitbake -c cleanall gst-plugin-base
$ bitbake -c cleanall gstreamer1.0-plugins-base
With next image rebuild you should have both gstreamers correctly patched.
Hope this helps. Ciao.
Tested and can confirm that the above patch solves the problem :smileyhappy:
Attached you can find a recipe with the above patch for gstreamer1.0 and one adapted for gstreamer0.10.36.
Simply uncompress it in your private layer and do:
$ bitbake -c cleanall gst-plugin-base
$ bitbake -c cleanall gstreamer1.0-plugins-base
With next image rebuild you should have both gstreamers correctly patched.
Hope this helps. Ciao.
Replying to my own post with a possible solution.
It is a know bug on arm and a patch has already been released.
References:
meta-freescale thread: http://thread.gmane.org/gmane.linux.embedded.yocto.meta-freescale/13018/focus=13037
bugzilla bug: https://bugzilla.gnome.org/show_bug.cgi?id=745667