espressif / esp-adf

Espressif Audio Development Framework
Other
1.49k stars 667 forks source link

MPEG_READER: Not find an effective frame, line:758. (AUD-5206) #1151

Closed espradio closed 4 months ago

espradio commented 4 months ago

Found following issue with below stream with [1] URL: http://ls.qingting.fm/live/3412131.m3u8?bitrate=64 URL: http://ls-jd.qingting.fm/live/5022308/64k/20240211/12/4021-836-13323.aac URL: http://ls-jd.qingting.fm/live/5022308/64k/20240211/12/4028-901-13324.aac URL: http://ls-jd.qingting.fm/live/5022308/64k/20240211/12/4035-945-13325.aac E (1213619) MPEG_READER: Not find an effective frame, line:758. E (1213619) MPEG_READER: Resync error (line 411) E (1213620) MP3_DECODER: Encountered error reading when MP3 init E (1213633) AUDIO_ELEMENT: [mp3] AEL_STATUS_ERROR_OPEN,-1 W (1213633) AUDIO_ELEMENT: [mp3] audio_element_on_cmd_error,7

[1] commit 48dea7711391e0abf00c65aca18557572fc5189a (HEAD -> master, origin/master, origin/HEAD) Merge: 1b827c94 74c88720 Author: Jason-mao maojianxin@espressif.com Date: Fri Feb 2 15:59:12 2024 +0800

Merge branch 'bugfix/fix_wwe_example_i2s_error' into 'master'

example: Fix exceptions caused by the impact of the new i2s API on the www example

See merge request adf/esp-adf-internal!1269
TempoTian commented 4 months ago

If use the default code of example https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_living_stream, it can play all right, I think you are using MP3 decoder to play AAC content. If needs support both AAC and MP3, should use wrapper decode like https://github.com/espressif/esp-adf/issues/1144