[opus] large cover size bug with android?

Timothy B. Terriberry tterribe at xiph.org
Mon Apr 15 20:32:00 UTC 2019

Ralph Giles wrote:
> 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 

Technically, according to RFC 7845 Section 5.2, they're only allowed to 
reject files if the comment header is larger than 120 MB. They are 
allowed to ignore any comments beyond the first 60 kB of that header, 

So if you wanted you could file a bug against Android about it.

More information about the opus mailing list