Commit c97f1c1e authored by StefanBruens's avatar StefanBruens

Split Audible audio mime types

The old "Format 2/3/4" audible files are proprietary formats, while the
newer "Enhanced" type is actually an ISO Base Media File Format compliant
file (aka ISOBMFF/M4B/Quicktime). The audio stream is encrypted, but
meta data (author, title, cover image) are unencrypted and can be used
by standard tools.

Fixes #134.
parent 297ecd2c
Pipeline #142693 passed with stage
in 2 minutes and 23 seconds
......@@ -4142,12 +4142,16 @@ command to generate the output files.
<magic priority="50">
<!-- https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/aadec.c#L33 -->
<match type="big32" value="1469084982" offset="4"/>
<match type="string" value="aax " offset="8"/>
</magic>
<glob pattern="*.aa"/>
<glob pattern="*.aax"/>
<alias type="audio/vnd.audible"/>
<alias type="audio/vnd.audible.aax"/>
</mime-type>
<mime-type type="audio/vnd.audible.aax">
<comment>Audible Enhanced audio</comment>
<magic priority="50">
<match type="string" value="ftypaax " offset="4"/>
</magic>
<glob pattern="*.aax"/>
</mime-type>
<mime-type type="audio/x-it">
<comment>Impulse Tracker audio</comment>
......
......@@ -510,7 +510,7 @@ simon.669 audio/x-mod
4jsno.669 audio/x-mod
# Copied from https://github.com/inAudible-NG/audible-samples
test.aa audio/x-pn-audibleaudio
test.aax audio/x-pn-audibleaudio
test.aax audio/vnd.audible.aax
# MPEG-4 files
mp4v1-video-header.mp4 video/mp4
mp4v2-video-header.mp4 video/mp4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment