When trying to play vorbis or opus files that have large cover sizes >1MB on android 8.0 built in player, they fail to play. Removing the cover allows them to play. Has anyone encountered this before or know if it is a known android or opus/vorbis bug?
When trying to play vorbis or opus files that have large cover sizes >1MB on android 8.0 built in player, they fail to play. Removing the cover allows them to play. Has anyone encountered this before or know if it is a known android or opus/vorbis bug?
On 2019-04-14 9:35 a.m., zol wrote:> When trying to play vorbis or opus files that have large cover sizes > >1MB on android 8.0 built in player, they fail to play. Removing the > cover allows them to play.I didn't investigate very closely (and my android 8 device has always ignored opus files!) But I'd guess it's either a bug with re-assembling the larger metadata header or the buffer the player is passing to the sniffer for file identification is too small. There is a 16 MB limit for metadata in the Android ogg/opus parser. Your cover images aren't that large are they? https://android.googlesource.com/platform/frameworks/av/+/a1a005fc01118685c92e723c8dcf7afeffc9d59c/media/extractors/ogg/OggExtractor.cpp#707 -r
>>> zol <zolstarym at gmail.com> schrieb am 09.04.2019 um 22:56 in Nachricht<aa726639-7558-96c9-65b8-5b1fa46a9a7e at gmail.com>:> When trying to play vorbis or opus files that have large cover sizes > >1MB on android 8.0 built in player, they fail to play. Removing the > cover allows them to play.Did you try to contact the vendor of your mobile? While some (like Samsung) most likely do not care about customers at all, others (like Huawei) at least seem to consider the issues reported by users...> > Has anyone encountered this before or know if it is a known android or > opus/vorbis bug?There's an app called "Logcat" that allows you to view the logs Android creates (it might need rott access to get all the logs). Maybe you can find out what's happening with large covers. Be warned however: Android creates log messages "like crazy"...ö> > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus