Readium LCP for Audiobooks 1.0
Revision: 2
Copyright 2020, Readium Foundation. All Rights Reserved.
Contributors: Laurent Le Meur (EDRLab), Hadrien Gardeur (De Marque)
Requirements
- LCP for Audiobooks is based on the Audiobook Profile of the Readium Web Publication Manifest and follows its requirements for packaging.
- Every package must use:
- the
.lcpauextension - the
application/audiobook+lcpmedia type
- the
- An embedded LCP License Document must be located at
license.lcpl - A cover should be referenced in
resourcesofmanifest.jsonand, if present, must not be encrypted. - Encrypted audio resources referenced in the
readingOrdermust not be compressed in the package. - A
typeproperty must be set for each audio resource. - A
bitrate,duration,sizeproperty should be set for each audio resource. The latter is the size in bytes of the audio resource before compression and encryption. - An
encryptedmust be set inpropertiesfor each audio resource, where:schememust be set tohttp://readium.org/2014/01/lcpalgorithmmust be set; it indicates the encryption algorithm applied to the document, currently “http://www.w3.org/2001/04/xmlenc#aes256-cbc”.
Example
{
"@context": "http://readium.org/webpub-manifest/context.jsonld",
"metadata": {
"@type": "http://schema.org/Audiobook",
"identifier": "urn:isbn:9780000000001",
"title": "Moby-Dick",
"author": "Herman Melville",
"narrator": ["Joe Speaker", "Lucy Narrator"],
"language": "en",
"publisher": "Whale Publishing Ltd.",
"published": "2016-02-01",
"modified": "2016-02-18T10:32:18Z",
"duration": 4320
},
"links": [
{
"rel": "self",
"href": "manifest.json",
"type": "application/audiobook+json"
}
],
"readingOrder": [
{
"href": "part1.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1980,
"title": "Part 1",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
},
{
"href": "part2.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1200,
"title": "Part 2",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
},
{
"href": "part3.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1140,
"title": "Part 3",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
}
],
"resources": [
{
"rel": "cover",
"href": "cover.jpeg",
"type": "image/jpeg",
"height": 300,
"width": 300
}
]
}