This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: AAC encode issue

Part Number: AM5728


Hello TI,

I am using a general purpose EVM of AM5728. I am using ti-processor-sdk-linux-am57xx-evm-06.00.00.07 SDK.

I am trying to encode audio in aac format as follows.

gst-launch-1.0 -v alsasrc num-buffers=1000 ! queue ! avenc_aac ! filesink location=/usr/share/ti/audio/test.aac

It produced test.aac successfully, but I got the following error message when it decodes.

root@am57xx-evm: gst-launch-1.0 filesrc location=/usr/share/ti/audio/test.aac ! queue ! faad ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFaad:faad0: Could not decode stream.
Additional debug info:
../../../../gst-plugins-base-1.14.4/gst-libs/gst/audio/gstaudiodecoder.c(1558): gst_audio_decoder_push_buffers (): /GstPipeline:pipeline0/GstFaad:faad0:
failed to parse stream
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Thanks