AnsweredAssumed Answered

Many iMX gstreamer plugins are blacklisted, beep.mp3 is missing entirely. How do I play MP3s?

Question asked by ralph__ on Oct 9, 2014
Latest reply on Oct 28, 2014 by gusarambula

I've got a Buildroot-based system running on my iMX Solo evaluation board.

I have Gstreamer installed along with all the iMX libs and iMX patches applied to Buildroot as per Buildroot (busybox) - [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)

 

Whenever I run gstreamer to try and play back an MP3 I get this output (N.B. My GST_PLUGIN_PATH has been set up correctly):

 

gplay /usr/sample.mp3

 

(gst-plugin-scanner:216): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_h264dec.so': lib_H264_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

MAX resolution 1920x1080

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_audio_pp.so': lib_peq_arm11_elinux.so.1: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg4aspdec.so': lib_MPEG4ASP_dec_arm11_elinux.so.1: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mp3enc.so': lib_mp3_enc_arm12_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg2dec.so': lib_mpeg2_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_amrdec.so': lib_nb_amr_dec_arm9_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so': /usr/lib/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so: undefined symbol: src_up2_prefilter_proc

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm12_elinux.so': lib_oggvorbis_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so': lib_mp3_dec_arm12_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm11_elinux.so': lib_aac_dec_arm11_elinux.so.3: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so': lib_aac_dec_arm12_elinux.so.3: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm9_elinux.so': lib_aac_dec_arm9_elinux.so.3: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm11_elinux.so': lib_oggvorbis_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm9_elinux.so': lib_mp3_dec_arm9_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm11_elinux.so': lib_mp3_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_h264dec.so': lib_H264_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_audio_pp.so': lib_peq_arm11_elinux.so.1: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg4aspdec.so': lib_MPEG4ASP_dec_arm11_elinux.so.1: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mp3enc.so': lib_mp3_enc_arm12_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg2dec.so': lib_mpeg2_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:216): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_amrdec.so': lib_nb_amr_dec_arm9_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:218): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg2dec.so': lib_mpeg2_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory

 

(gst-plugin-scanner:218): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_amrdec.so': lib_nb_amr_dec_arm9_elinux.so.2: cannot open shared object file: No such file or directory

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=/usr/sample.mp3

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]state change failed from 2 to 4

try to play failed

 

FSL_PLAYER_01.00_LINUX build on Sep 29 2014 22:06:59

        [h]display the operation Help

        [p]Play

        [s]Stop

        [e]Seek

        [a]Pause when playing, play when paused

        [v]Volume

        [m]Switch to mute or not

        [>]Play next file

        [<]Play previous file

        [r]Switch to repeated mode or not

        [f]Set full screen or not

        [z]resize the width and height

        [t]Rotate

        [c]Setting play rate

        [i]Display the metadata

        [x]eXit

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0] Aborted by signal[2] Interrupt...

FSL_PLAYER_UI_MSG_EXIT

fsl_player_stop()

player_exit(): No more multimedia files, exit.

Aborted by signal[2] Interrupt...

Aborted by signal[2] Interrupt...

Aborted by signal[2] Interrupt...

Aborted by signal[2] Interrupt...

g_main_loop_thread_fun() quit!

fsl_player_deinit

 

When I run gst-inspect-0.10 I get:

 

# gst-inspect-0.10 | grep imx

beep.imx: ac3: ac3

beep.imx: 3ca: ac3

beep.imx:  beepdec: beep audio decoder

isink.imx:  mfw_isink: IPU-based video sink

tvsrc.imx:  tvsrc: v4l2 based tv src

vpu.imx:  vpudec: VPU-based video decoder

vpu.imx:  vpuenc: VPU-based video encoder

aiur.imx: webm: webm

aiur.imx:  aiurdemux: aiur universal demuxer

ipucsc.imx:  mfw_ipucsc: IPU-based video converter

v4lsrc.imx:  mfw_v4lsrc: v4l2 based camera src

v4lsink.imx:  mfw_v4lsink: v4l2 video sink

 

But most people seem to have beep.mp3 there too. Any idea why it isn't there?

Finally, here is my list of blacklisted plugins in case it helps anyone diagnose my problem:

 

# gst-inspect-0.10 -b

Blacklisted files:

  libmfw_gst_amrdec.so

  libmfw_gst_mpeg2dec.so

  libmfw_gst_mp3enc.so

  libmfw_gst_mpeg4aspdec.so

  libmfw_gst_audio_pp.so

  libmfw_gst_h264dec.so

  lib_g.729ab_dec_arm11_elinux.so

  lib_g.723.1_dec_arm11_elinux.so

  lib_wb_amr_dec_arm9_elinux.so

  lib_g.726_enc_arm11_elinux.so

  lib_mp3_enc_arm9_elinux.so

  lib_g.726_dec_arm11_elinux.so

  lib_mp3_dec_arm12_elinux.so

  lib_mp3_dec_arm9_elinux.so

  lib_g.729ab_enc_arm11_elinux.so

  lib_g.711_dec_arm11_elinux.so

  lib_bsac_dec_arm11_elinux.so

  lib_g.723.1_dec_arm9_elinux.so

  lib_mp3d_wrap_arm11_elinux.so

  lib_mp3d_wrap_arm9_elinux.so

  lib_vorbisd_wrap_arm11_elinux.so

  lib_aacd_wrap_arm9_elinux.so

  lib_aacd_wrap_arm12_elinux.so

  lib_aacd_wrap_arm11_elinux.so

  lib_mp3d_wrap_arm12_elinux.so

  lib_vorbisd_wrap_arm12_elinux.so

  lib_sbc_enc_arm11_elinux.so

  lib_g.711_enc_arm11_elinux.so

  lib_nb_amr_enc_arm9_elinux.so

  lib_g.729ab_dec_arm9_elinux.so

  lib_peq_arm11_elinux.so

  lib_g.726_enc_arm9_elinux.so

  lib_nb_amr_dec_arm11_elinux.so

  lib_g.711_dec_arm9_elinux.so

  lib_g.726_dec_arm9_elinux.so

  lib_aac_dec_arm12_elinux.so

  lib_g.729ab_enc_arm9_elinux.so

  lib_wb_amr_enc_arm9_elinux.so

  lib_g.723.1_enc_arm11_elinux.so

  lib_mp3_enc_arm12_elinux.so

  lib_nb_amr_enc_arm11_elinux.so

  lib_flac_dec_arm9_elinux.so

  lib_oggvorbis_dec_arm11_elinux.so

  lib_src_ppp_arm11_elinux.so

  lib_nb_amr_dec_arm9_elinux.so

  lib_g.723.1_enc_arm9_elinux.so

  lib_aac_dec_arm9_elinux.so

  lib_aac_dec_arm11_elinux.so

  lib_flac_dec_arm11_elinux.so

  lib_sbc_enc_arm9_elinux.so

  lib_mp3_dec_arm11_elinux.so

  lib_mp3_enc_arm11_elinux.so

  lib_g.711_enc_arm9_elinux.so

  lib_gif_dec_arm11_elinux.so

  lib_MPEG4ASP_dec_arm11_elinux.so

  lib_H264_dec_arm11_elinux.so

  lib_jpeg_dec_arm11_elinux.so

  lib_H264_dec_arm9_elinux.so

  lib_bmp_dec_arm11_elinux.so

  lib_MPEG4ASP_dec_arm9_elinux.so

  lib_png_dec_arm11_elinux.so

  lib_jpeg_enc_arm11_elinux.so

  lib_mpeg2_dec_arm11_elinux.so

  lib_deinterlace_arm11_elinux.so

  lib_jpeg_dec_arm9_elinux.so

 

Many thanks.

Ralph

Outcomes