AAC decoder not working in play_http_select_decoder_example

elektrofuzzis
Posts: 2
Joined: Sat Dec 19, 2020 2:32 am

AAC decoder not working in play_http_select_decoder_example

Postby elektrofuzzis » Sat Dec 19, 2020 2:38 am

I tried your play_http_select_decoder_example example. Most of the decoder are working, but aac decoder fails:

I (3362) HTTP_SELECT_AAC_EXAMPLE: [ 5 ] Start audio_pipeline
E (6502) AAC_DECODER: failed to initialize
E (6502) AUDIO_ELEMENT: [aac] AEL_STATUS_ERROR_OPEN,-1
W (6502) AUDIO_ELEMENT: IN-[i2s] AEL_IO_ABORT
W (6502) AUDIO_ELEMENT: [aac] AEL_MSG_CMD_ERROR,6
W (6542) HTTP_SELECT_AAC_EXAMPLE: [ * ] Stop event received
I (6542) HTTP_SELECT_AAC_EXAMPLE: [ 6 ] Stop audio_pipeline and release all resources
W (6542) AUDIO_ELEMENT: [aac] Element already stopped
W (6552) AUDIO_ELEMENT: [i2s] Element already stopped
W (8132) AUDIO_PIPELINE: There are no listener registered
W (8132) AUDIO_ELEMENT: [http] Element has not create when AUDIO_ELEMENT_TERMINATE
W (8132) AUDIO_ELEMENT: [i2s] Element has not create when AUDIO_ELEMENT_TERMINATE
W (8142) AUDIO_ELEMENT: [aac] Element has not create when AUDIO_ELEMENT_TERMINATE

I downloaded your sample file and used the fs-stream-reader, but I run into the same issue.

Any ideas?

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: AAC decoder not working in play_http_select_decoder_example

Postby ESP_HengYC » Tue Dec 29, 2020 3:30 am

The example pipeline_http_select_decoder (https://github.com/espressif/esp-adf/tr ... ct_decoder) I played is good for me.

Code: Select all

#define SELECT_AAC_DECODER 1
I'm using aac decoder to play https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.aac file.

Please check the code, and try examples of the latest adf.

Who is online

Users browsing this forum: No registered users and 8 guests