MP4 covr type detection

James Turner zakalawe at
Wed Nov 16 16:26:10 UTC 2011


I've encountered an issue, with certain tag editors omitting the image type data when writing an MP4 'covr' atom. The fix / workaround is to sniff the image type based on the actual image data, which is pretty easy for PNG and JPEG. Attached patch shows what I've done so far.

Feedback / applying this would be welcome, or I can submit a Github pull request if preferred.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: taglib-mp4-covr-sniff.diff
Type: application/octet-stream
Size: 1248 bytes
Desc: not available
URL: <>

More information about the taglib-devel mailing list