Skip to content
Novus Examples
epub2.7 KB

EPUB 3 - Media Overlay (SMIL + MP3 narration)

An EPUB 3 with a real media overlay: a SMIL document ties three paragraph ids to clip ranges in an embedded MP3, and the package declares media:duration and media:active-class. The narration track is deliberately silent audio, so the fixture stays small and byte-identical on every run.

Archive contents — 8 entriesepub
  • mimetype
  • container.xml
  • content.opf
  • nav.xhtml
  • style.css
  • chapter1.xhtml
  • chapter1.smil
  • narration-1.mp3

Specifications

Seed
20260807
Epub Version
3.0
Overlay Docs
1
Smil Pars
3
Audio Format
MPEG-1 Layer III, 64 kbps, 44.1 kHz mono
Audio Seconds
1.202
Media Duration
0:00:01.202
Active Class
-epub-media-overlay-active
Audio Content
digital silence

Testing contract

Expected to pass
Scenario
Start read-aloud playback and follow the highlight through the chapter.
Expected result
Playback advances par by par, each of the three paragraphs is highlighted in turn via the declared active class, and the reader reports the same total length as media:duration.

What is a .epub file?

EPUB is the open e-book standard, a ZIP archive containing XHTML content documents, CSS, images, and a package manifest describing reading order and metadata. It supports reflowable text that adapts to screen size and is supported by most e-readers except Kindle natively. It is the dominant format for distributable e-books.

How to use this file

Use an example EPUB to test e-book parsing, ZIP-package and manifest handling, reading-order and metadata extraction, and rendering in e-reader applications.

How to use this file for testing

“EPUB 3 - Media Overlay (SMIL + MP3 narration)” is a deterministic Novus Examples fixture for Media accessibility, Conversion testing. Containers carrying several subtitle and audio tracks at once, with real language tags and the default, forced, hearing-impaired and visual-impaired flags actually set — for testing track pickers, accessibility menus, and the flag handling that only shows up when more than one track exists.

Documented properties for this file: seed 20260807. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

E-book fixtures are structured archives documented down to their spine and manifest. Test readers and converters, and where a valid↔intentionally-invalid pair exists, assert graceful handling of the malformed container.

Code examples

ebook-convert smil-single-track.epub out.pdf   # Calibre
unzip -l smil-single-track.epub                # EPUB is a ZIP

Generated by generation/ebooks_p7.py. Free for any use, no attribution required — license.