CelliesProjects/ESP32_VS1053_Stream

Unable to play ogg streams, flac ogg playing but no sound

Closed this issue · 4 comments

When i try play ogg streams with the library i get false to streamisrunning and codec: unknow and code fail to play ogg streams, no sound.

Tested normal ogg streams:

http://retro.dancewave.online/retrodance.ogg https://icast.connectmedia.hu/4765/mr2.ogg https://www.jazzradio.hu:8000/jazzradio_192.ogg
https://icast.connectmedia.hu/4765/mr2.ogg
http://dancewave.online/dance.ogg

If i try flac ogg (maybe not supported), library detect codec: ogg and streamisrunning true but no sound.

Tested Flac type ogg stream: http://retro.dancewave.online/retrodance.flac.ogg

Im not sure, the problem is with the library or the ogg format not supported.

An Ogg stream can be two things:

  • Ogg: a container format for multimedia files.
    The Ogg container can contain several stream formats including FLAC.

  • Ogg-Vorbis: a codec similar to mp3.

This library only plays files and streams encoded with the Ogg-Vorbis codec. So no FLAC encoded files.

Any Ogg files containing streams that are not mp3, aac, aac+ or Ogg-Vorbis will not be recognised or played.

I know flac type ogg need extra patch for vs1053 library to use, i have just tested.

But if we talk about flac, i know about these patches, if i have this in a header format and im include this in code. Stream will be played or will be problem because this library is a extension for the vs1053 library?

https://github.com/schreibfaul1/ESP32-vs1053_ext/blob/master/src/vs1053b-patches-flac.h

Im reverse the ogg vorbis part of your answer/my question, if my shared ogg streams was not ,,standard" (lookslike all what i have found) can you give a example ogg stream what can handle the vs1053 stream?

Just pushed 99eec8a which should fix at least some of the above streams.
Some more work might be needed.
http://retro.dancewave.online/retrodance.flac.ogg does not play, but in debug mode I see data being pumped to the codec, but no sound.