[meta-freescale] gstreamer on imx6: erroneous pipeline: could not link queue0 to beepdec0

LiQun Wei LiQun.Wei at cn.abb.com
Wed Jul 8 20:52:05 PDT 2015


Dears,

Run pipline list as below:
gst-launch filesrc location=/usr/app/11.mp3  typefind=true ! beepdec ! audioconvert  ! 'audio/x-raw-int, channels=2' ! alsasink
I got some error as:

root at imx6solosabresd:/usr/app#
find=true ! beepdec ! audioconvert  ! 'audio/x-raw-int, channels=2' ! alsasinkpe

(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_pad_new_from_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_pad_set_setcaps_function: assertion `GST_IS_PAD (pad)' failed
(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_pad_set_chain_function: assertion `GST_IS_PAD (pad)' failed
(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion `GST_IS_PAD (pad)' failed
(gst-launch-0.10:318): GStreamer-CRITICAL **: gst_element_add_pad: assertion `GST_IS_PAD (pad)' failed
WARNING: erroneous pipeline: could not link filesrc0 to beepdec0
root at imx6solosabresd:/usr/app#


Try another pipeline:
gst-launch -vvv playbin2 uri=file:///usr/app/11.mp3

root at imx6solosabresd:/usr/app#
root at imx6solosabresd:/usr/app#
p3ot at imx6solosabresd:/usr/app# gst-launch -vvv playbin2 uri=file:///usr/app/11.m
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 = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///usr/app/11.mp3"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:sink: caps = application/x-id3
Home directory not accessible: Permission denied
Pipeline is PREROLLING ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3
Home directory not accessible: Permission denied
Missing element: MPEG-1 Layer 3 (MP3) decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true'.
Additional debug info:
/work/Yocto/imx6/bin/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gsturidecodebin.c(874): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.
Additional debug info:
/work/Yocto/imx6/bin/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gstdecodebin2.c(3576): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/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
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
Freeing pipeline ...
root at imx6solosabresd:/usr/app#




root at imx6solosabresd:/usr/app# gst-inspect-0.10 beepdec
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_pad_new_from_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_pad_set_setcaps_function: assertion `GST_IS_PAD (pad)' failed
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_pad_set_chain_function: assertion `GST_IS_PAD (pad)' failed
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion `GST_IS_PAD (pad)' failed
(gst-inspect-0.10:317): GStreamer-CRITICAL **: gst_element_add_pad: assertion `GST_IS_PAD (pad)' failed
Factory Details:
  Long name:    beep audio decoder
  Class:        Codec/Decoder/Audio
  Description:  Decode compressed audio to raw data
  Author(s):    Multimedia Team <shmmmw at freescale.com>
  Rank:         secondary + 1 (129)

Plugin Details:
  Name:                 beep.imx
  Description:          universal audio codec
  Filename:             /usr/lib/gstreamer-0.10/libmfw_gst_beep.so
  Version:              3.0.11
  License:              LGPL
  Source module:        gst-fsl-plugins
  Binary package:       Freescle Gstreamer Multimedia Plugins
  Origin URL:           http://www.freescale.com

GObject
+----GstObject
       +----GstElement
             +----GstBeepDec

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-raw-int
                  width: { 16, 24, 32 }
                  depth: { 16, 24, 32 }
                   rate: { 7350, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }
               channels: [ 1, 8 ]


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_beepdec_state_change
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
  SRC: 'src'
    Implementation:
      Has custom eventfunc(): gst_pad_event_default
      Has custom queryfunc(): gst_pad_query_default
        Provides query types:
                (2):    duration (Total duration)
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has getcapsfunc(): gst_pad_get_fixed_caps_func
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "beepdec0"
  resync-threshold    : set threshold for resync timestamp: -1, disable resync
                        flags: readable, writable
                        Integer64. Range: -1 - 9223372036854775807 Default: 2000000000
  reset-when-resync   : enable/disable reset when resync
                        flags: readable, writable
                        Boolean. Default: true
  set-layout          : enable/disable set output channel layout
                        flags: readable, writable
                        Boolean. Default: true

My Yocto release is: imx6-3.10.31_beta
Any help will be appreciate.
Thank you.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150709/49f731a4/attachment-0001.html>


More information about the meta-freescale mailing list