I am trying to decode the AAC audio file using the following pipeline. But it is giving the error. Could somebody please suggest me the correct pipeline to decode the AAC file. imxuniaudiodec is the element of the plugin gst1-imx.
gst-launch-1.0 filesrc location=/mnt/Audio_Files/sample.aac ! imxuniaudiodec ! alsasink device="hw:0,0"
Error output :
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
What will be the correct pipeline ?