ESP32-Lyrat can't play aac http stream

harlenfeng
Posts: 3
Joined: Mon Oct 25, 2021 6:59 am

ESP32-Lyrat can't play aac http stream

Postby harlenfeng » Wed Nov 24, 2021 8:38 am

the log below:

I (35173) CONSOLE_EXAMPLE: app_audio play
I (35173) CONSOLE_EXAMPLE: play index= -1, URI:http://isure6.stream.qqmusic.qq.com/C20 ... romtag=691, byte_pos:0
I (35193) ESP_AUDIO_CTRL: Enter play procedure, src:0
I (35193) ESP_AUDIO_CTRL: Play procedure, URL is ok, src:0
I (35213) ESP_AUDIO_CTRL: Request_CMD_Queue CMD:0, Available:5, que:0x3ffe2768
I (35213) ESP_AUDIO_TASK: It's a decoder
I (35213) ESP_AUDIO_CTRL: Func:_ctrl_play, Line:771, MEM Total:4285287 Bytes, Inter:108675 Bytes, Dram:102211 Bytes
I (35223) ESP_AUDIO_TASK: 1.CUR IN:[IN_http],CODEC:[DEC_m4a],RESAMPLE:[48000],OUT:[OUT_iis],rate:0,ch:0,pos:0
I (35233) ESP_AUDIO_TASK: 2.Handles,IN:0x3f80152c,CODEC:0x3f8021c8,FILTER:0x3f802e58,OUT:0x3f802664

I (35243) ESP_AUDIO_TASK: 2.2 Update all pipeline
I (35263) ESP_AUDIO_TASK: 2.3 Linked new pipeline
I (35263) AUDIO_PIPELINE: link el->rb, el:0x3f80152c, tag:IN_http, rb:0x3f8032a0
I (35273) AUDIO_PIPELINE: link el->rb, el:0x3f8021c8, tag:DEC_m4a, rb:0x3f805ae0
I (35273) AUDIO_PIPELINE: link el->rb, el:0x3f802e58, tag:Audio_forge, rb:0x3f807b20
I (35293) ESP_AUDIO_TASK: 3. Previous starting...
I (35293) AUDIO_ELEMENT: [IN_http-0x3f80152c] Element task created
I (35303) AUDIO_ELEMENT: [IN_http] AEL_MSG_CMD_RESUME,state:1
I (35313) AUDIO_ELEMENT: [DEC_m4a-0x3f8021c8] Element task created
I (35313) AUDIO_ELEMENT: [DEC_m4a] AEL_MSG_CMD_RESUME,state:1
I (35323) ESP_AUDIO_TASK: Blocking play until received AEL_MSG_CMD_REPORT_MUSIC_INFO
W (35343) wifi:<ba-add>idx:1 (ifx:0, 88:c3:97:30:67:1d), tid:0, ssn:0, winSize:64
W (35393) wifi:<ba-add>idx:2 (ifx:0, 88:c3:97:30:67:1d), tid:3, ssn:0, winSize:64
I (35443) HTTP_STREAM: total_bytes=768906
I (35443) ESP_AUDIO_TASK: Recv Element[IN_http-0x3f80152c] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_RUNNING
I (35453) CODEC_ELEMENT_HELPER: The element is 0x3f8021c8. The reserve data 2 is 0x0.
I (35463) AAC_DECODER: a new song playing
I (35473) AAC_DECODER: this audio is RAW AAC
E (36713) MPEG_READER: Not find an effective frame, line:615.
E (36713) MPEG_READER: resync error (line 399)
E (36713) AAC_DECODER: Encountered error reading stream
E (36733) AUDIO_ELEMENT: [DEC_m4a] AEL_STATUS_ERROR_OPEN,-1

I (36733) ESP_AUDIO_TASK: Recv Element[DEC_m4a-0x3f8021c8] MSG,type:20000,cmd:8,len:4,status:ESP_ERR_AUDIO_OPEN
E (36743) ESP_AUDIO_TASK: Got element[DEC_m4a] error:ESP_ERR_AUDIO_OPEN, stop pipeline[0]
W (36733) AUDIO_ELEMENT: [DEC_m4a] audio_element_on_cmd_error,7
I (36763) AAC_DECODER: Closed by [7]
W (36763) HTTP_STREAM: No output due to stopping
E (36773) AUDIO_ELEMENT: [IN_http] Element already stopped
E (36773) AUDIO_ELEMENT: [DEC_m4a] Element already stopped
W (36783) ESP_AUDIO_TASK: Destroy the old pipeline, ELEMENT OCCUR ERROR
W (36783) AUDIO_ELEMENT: [OUT_iis] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:30
W (36793) AUDIO_ELEMENT: [Audio_forge] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:30
W (36813) ESP_AUDIO_TASK: The old pipeline destroyed, ELEMENT OCCUR ERROR
I (36823) ESP_AUDIO_TASK: Received last pos: 0 bytes
I (36823) ESP_AUDIO_CTRL: Exit play procedure, ret:81100
esp32> I (36823) CONSOLE_EXAMPLE: esp_auido status:5,err:81100

I (36823) ESP_AUDIO_TASK: Recv Element[DEC_m4a-0x3f8021c8] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_STOPPED

Who is online

Users browsing this forum: No registered users and 22 guests