Open lidense opened 1 year ago
Thank you for your comment!
Please check #15.
There are 2 URLs that I would like to listen to: https://as-hls-ww.live.cf.md.bbci.co.uk/pool_904/live/ww/bbc_radio_scotland_fm/bbc_radio_scotland_fm.isml/bbc_radio_scotland_fm-audio%3d96000.norewind.m3u8 AND https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/master.m3u8 I have a M5stack Core 2 with internal speaker
I used this main.cpp: examples/M5Core2WebRadio
There is no sound coming out of the speaker. For the first URL I can see messages from serial indicating that the buffers are being filled but no sound coming out while with the second URL there is nothing at all. I have tried with m5stack/M5Core2@0.1.3 but no success. Thank-you for your help. Regards
Thank you.
These URLs may have different problems.
The first URL causes a problem in conversion from ts to aac. To solve it, I have to modify AudioGeneratorTS.
The second URL returns URLs which have relative path. Here is actual playlist which the second URL( https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/master.m3u8 ) returned.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120/RISMI/stream02/streamPlaylist.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120-b/RISMI/stream02/streamPlaylist.m3u8
The program should request to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/streamPlaylist.m3u8
or
https://radioitaliasmi.akamaized.net/hls/live/2093120-b/RISMI/stream02/streamPlaylist.m3u8
.
However, it does not support relative path, and requests to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/../../2093120/RISMI/stream02/streamPlaylist.m3u8
.
So, I have to make the program support relative path.
Thank-you for your reply, I would like to have more details to understand how I can try to modify the code to adapt to these urls? Can you help? Can you explain what you need to change and why? Thanks and regards Dave
----- Mail original ----- De: "Osamu Miyazawa" @.> À: "Yokohama-Miyazawa/M5HLSPlayer" @.> Cc: "lidense" @.>, "Author" @.> Envoyé: Mercredi 30 Août 2023 06:08:33 Objet: Re: [Yokohama-Miyazawa/M5HLSPlayer] No sound from internal speaker (Issue #19)
Thank you.
These URLs may have different problems.
The first URL causes a problem in conversion from ts to aac. To solve it, I have to modify AudioGeneratorTS.
The second URL returns URLs which have relative path. Here is actual playlist which the second URL( https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/master.m3u8 ) returned. #EXTM3U
../../2093120/RISMI/stream02/streamPlaylist.m3u8
../../2093120-b/RISMI/stream02/streamPlaylist.m3u8
The program should request to https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/streamPlaylist.m3u8 or https://radioitaliasmi.akamaized.net/hls/live/2093120-b/RISMI/stream02/streamPlaylist.m3u8 .
However, it does not support relative path, and requests to https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/../../2093120/RISMI/stream02/streamPlaylist.m3u8 .
So, I have to make the program support relative path.
— Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <Yokohama-Miyazawa/M5HLSPlayer/issues/19/1698457402 @ github . com>
Do you think it is possible to adapt the app to listen to these streams? I would like to learn how to do it, do you have some documents that I can read on how to go from .ts to.aac? Can you recommend an online script which allows to analyze a .ts stream to understand how to do the job? Thanks Dave
----- Mail d'origine ----- De: Osamu Miyazawa @.> À: Yokohama-Miyazawa/M5HLSPlayer @.> Cc: lidense @.>, Author @.> Envoyé: Wed, 30 Aug 2023 06:08:33 +0200 (CEST) Objet: Re: [Yokohama-Miyazawa/M5HLSPlayer] No sound from internal speaker (Issue #19)
Thank you.
These URLs may have different problems.
The first URL causes a problem in conversion from ts to aac. To solve it, I have to modify AudioGeneratorTS.
The second URL returns URLs which have relative path. Here is actual playlist which the second URL( https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/master.m3u8 ) returned.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120/RISMI/stream02/streamPlaylist.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120-b/RISMI/stream02/streamPlaylist.m3u8
The program should request to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/streamPlaylist.m3u8
or
https://radioitaliasmi.akamaized.net/hls/live/2093120-b/RISMI/stream02/streamPlaylist.m3u8
.
However, it does not support relative path, and requests to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/../../2093120/RISMI/stream02/streamPlaylist.m3u8
.
So, I have to make the program support relative path.
-- Reply to this email directly or view it on GitHub: https://github.com/Yokohama-Miyazawa/M5HLSPlayer/issues/19#issuecomment-1698457402 You are receiving this because you authored the thread.
Message ID: @.***>
Hi, did you have a chance to read my email below? What to you think? Thanks and regards Dave
----- Mail original ----- De: "d radzik" @.> À: "Yokohama-Miyazawa/M5HLSPlayer" @.> Cc: "Yokohama-Miyazawa/M5HLSPlayer" @.>, "Author" @.> Envoyé: Vendredi 1 Septembre 2023 14:25:24 Objet: Re : Re: [Yokohama-Miyazawa/M5HLSPlayer] No sound from internal speaker (Issue #19)
Do you think it is possible to adapt the app to listen to these streams? I would like to learn how to do it, do you have some documents that I can read on how to go from .ts to.aac? Can you recommend an online script which allows to analyze a .ts stream to understand how to do the job? Thanks Dave
----- Mail d'origine ----- De: Osamu Miyazawa @.> À: Yokohama-Miyazawa/M5HLSPlayer @.> Cc: lidense @.>, Author @.> Envoyé: Wed, 30 Aug 2023 06:08:33 +0200 (CEST) Objet: Re: [Yokohama-Miyazawa/M5HLSPlayer] No sound from internal speaker (Issue #19)
Thank you.
These URLs may have different problems.
The first URL causes a problem in conversion from ts to aac. To solve it, I have to modify AudioGeneratorTS.
The second URL returns URLs which have relative path. Here is actual playlist which the second URL( https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/master.m3u8 ) returned.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120/RISMI/stream02/streamPlaylist.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=98730,CODECS="mp4a.40.29"
../../2093120-b/RISMI/stream02/streamPlaylist.m3u8
The program should request to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/streamPlaylist.m3u8
or
https://radioitaliasmi.akamaized.net/hls/live/2093120-b/RISMI/stream02/streamPlaylist.m3u8
.
However, it does not support relative path, and requests to
https://radioitaliasmi.akamaized.net/hls/live/2093120/RISMI/stream02/../../2093120/RISMI/stream02/streamPlaylist.m3u8
.
So, I have to make the program support relative path.
-- Reply to this email directly or view it on GitHub: https://github.com/Yokohama-Miyazawa/M5HLSPlayer/issues/19#issuecomment-1698457402 You are receiving this because you authored the thread.
Message ID: @.***>
I have tried to understand why I do not have sound using this weblink: https://as-hls-ww.live.cf.md.bbci.co.uk/pool_904/live/ww/bbc_radio_scotland_fm/bbc_radio_scotland_fm.isml/bbc_radio_scotland_fm-audio%3d96000.norewind.m3u8
From what I undersand AudioGeneratorTS does not find the sync byte 0xFFF What can I do?
I compiled from github on my M5stack Core 2 but I get no sound although I see the .ts files being dowloaded.