[opus] Antw: Re: large cover size bug with android?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Apr 16 06:15:53 UTC 2019

>>> "Timothy B. Terriberry" <tterribe at xiph.org> schrieb am 15.04.2019 um 22:32 in
Nachricht <21fbcf68-6b5a-b93b-7cd5-568566bc9989 at xiph.org>:
> 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/+/a1a005fc01118685c92 
> e723c8dcf7afeffc9d59c/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, 
> however.
> So if you wanted you could file a bug against Android about it.

The other thing is whether it makes sense to add such large images: Usually I try to reduce my cover arts to less tan 40kB. That works in most cases, but some requite a litle less than 150kB. OK, that's for mobile phone; if you have a UHD tablet, your requirements may be different ;-)
Despite of that I have my cover arts outside the actual files, usually...

> _______________________________________________
> opus mailing list
> opus at xiph.org 
> http://lists.xiph.org/mailman/listinfo/opus 

More information about the opus mailing list