-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some mp3 file will make the decoder crash. #8
Comments
cg.mp3 info: bit rate: 192 kbps |
Sure, just upload it to Google Drive or something. You can send the link to buschfunk@yahoo.com if you don't want to write it here. |
Hi, @MrBuddyCasino , I have sent the mp3 file to buschfunk@yahoo.com. |
I try much aac and m4a , but always get errors like this:
|
Your webserver might be misconfigured - you need to send the proper mime type header. |
Oh, I’ll try.
… 在 2017年5月16日,下午4:09,Michael Böckling ***@***.***> 写道:
Your webserver might be misconfigured - you need to send the proper mime type header.
audio/aac => .aac
audio/mp4 => .mp4
audio/x-m4a => .m4a
audio/mpeg => .mp3
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#8 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AG9XGj4awxzf6cbpnSHnLYkirUlmmzBxks5r6VnXgaJpZM4NbHbS>.
|
Hi, I've problem with underflow buffer when I listen music via URL. E (7132) decoder: Buffer underflow, need 2881 bytes. Best regards. |
@pablomorales88 you can try increasing the buffer via #define SPIRAMSIZE to maybe 64k in spiram_fifo.c. Other than that, you might have crappy wifi or a particular problematic station, try to experiment. |
Thank you for response, but, I still have the same problem and now I am trying to. Best Regards. |
`ESP_LOGE(TAG, "Buffer underflow, need %d bytes.", buf_free_capacity_after_purge(buf)); buf_underrun_cnt++; //We both silence the output as well as wait a while by pushing silent samples into the i2s system. //This waits for about 200mS renderer_zero_dma_buffer(); vTaskDelay(1 / portTICK_PERIOD_MS); |
Waiting until the buffer is x % full before resuming playback (instead of immediately) might fix it. |
vTaskDelay(500/ portTICK_PERIOD_MS); That is better. |
i have the same problem as donny681. Buffer underflow where must i write the "vTaskDelay(500/ portTICK_PERIOD_MS);" ?? or there are other ways to fix it? |
Here is my Log: �[0m Please can help me anyone?? |
I'm also facing the same Buffer underflow issue. "vTaskDelay(500/ portTICK_PERIOD_MS);" made no difference. I can confirm the esa-n fork by Yu Xutian works flawlessly: |
Yes, you are right @danxster |
It gets a lot better when AAC support is left out, because more RAM is available to buffering. This could be optimized to work much better for MP3 decoding. Not sure if I have the time for that currently. |
Some mp3 file will make the decoder crash.
…
The text was updated successfully, but these errors were encountered: