Hi all,
I want to play mp3 on sabrelite running LTIB using gstreamer,what i refer is "i.MX_6_Ubuntu_Multimedia_User_Guide.pdf", and the linux BSP version is "L3.0.35_4.0.0",I try two ways:
1) gst-launch filesrc location=test.mp3 typefind=true ! beepdec ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** (gst-launch-0.10:3249): CRITICAL **: gst_beepdec_chain: assertion `beepdec->handle' failed
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
crash and quit.
2) gst-launch playbin2 uri=file:///mnt/test.mp3 audio-sink="alsasink"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Beep: 3.0.7
Core: MP3 decoder Wrapper build on Mar 15 2013 09:57:40
mime: audio/mpeg, mpegversion = (int)1
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Dec 5 2012 09:45:19.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
success.
Can someone tell me what wrong with the 1st way? Thanks!