You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to play Vorbis files on an MP3 player with only 1 MB of memory available for decoding. Most files play fine, except those with large comments section (files with embedded album art). It fails right on attempt to open stream with ov_open_callbacks.
At this stage, all required metadata is already obtained, so ideally, I'd like to skip processing the comments section completely and load only the audio packets. Is there an easy way to achieve this?
From what I can see, the _fetch_headers function needs to be modified to support this feature. However, it's quite complex for me to understand. It's not as simple as dropping _vorbis_unpack_comment, as I encountered an Out of Memory exception before it's called inside:
I'm trying to play Vorbis files on an MP3 player with only 1 MB of memory available for decoding. Most files play fine, except those with large comments section (files with embedded album art). It fails right on attempt to open stream with
ov_open_callbacks
.At this stage, all required metadata is already obtained, so ideally, I'd like to skip processing the comments section completely and load only the audio packets. Is there an easy way to achieve this?
From what I can see, the _fetch_headers function needs to be modified to support this feature. However, it's quite complex for me to understand. It's not as simple as dropping
_vorbis_unpack_comment
, as I encountered anOut of Memory
exception before it's called inside:vorbis/lib/vorbisfile.c
Line 391 in 84c0236
Stacktrace:
Any help would be really appreciated.
The text was updated successfully, but these errors were encountered: