Skip to main content
Back to Features

Guide baseline: v0.14.0

Video and Audio

Create draft transcripts and captions, then check them against the full recording and its educational purpose.

Transcription and caption outputs

The transcription route uses the Whisper path and requires its model and media dependencies, including FFmpeg. It can generate WebVTT and SRT text. From v0.10.0, captions, transcripts and stored segments carry no speaker labels, because Aelira does not run speaker identification; captions and transcripts stored by earlier scans keep their labels until the media is scanned again. Review timing, speakers, technical terms and meaningful non-speech audio. Automatic captions, including Aelira’s output, need verification and correction; the source being automatic does not by itself decide adequacy.

W3C guidance on accurate captions and required audio information

Audio description in this release

POST /education/multimedia/scan exposes generate_audio_descriptions and generate_spoken_descriptions as query options. Video keyframes can be described through the authorized workspace vision provider. Optional spoken output requires the TTS processor, and media assembly requires FFmpeg. Missing providers, frames or TTS can leave descriptions empty or spoken output unavailable.

Delivery and quality boundaries

The processor has companion audio and video generation paths, but the stored scan response exposes description counts and transcription/caption data, not a guaranteed downloadable described-video deliverable. Check the actual returned artifacts before planning distribution. Generated companion files remain unverified: the route sets manual_review_required and verification_passed=false. A source score does not verify caption accuracy or whether audio description is appropriate. Enabled flashing detection samples the first 30 seconds and cannot clear a whole recording, so since v0.9.13 a video scan stays unassessed, with no safety verdict or overall compliance score. Since v0.9.13, media remediation delivers the generated WebVTT captions as a downloadable file flagged for human review. The saved file is checked to be well-formed WebVTT whose cues match the generated transcription, which confirms structure, not accuracy, and caption files cannot be written back to cloud storage or a Canvas course. Since v0.13.0 caption generation drops zero-length cues, drops cues starting at or after the media duration, and clamps cue ends to the duration before writing, so a corrected file can legitimately contain fewer cues than the raw transcript (#818).

Supported formats

The route accepts these extensions: MP4, MOV, AVI, MKV, WebM, MP3, WAV, M4A and OGG, subject to content validation. FFmpeg, ffprobe and OpenCV read only local files, and only in an allowlist of containers (MP4/MOV/M4A/3GP, Matroska/WebM, AVI, MP3, WAV, Ogg, FLAC) and mainstream codecs (video: H.264, HEVC, VP8, VP9, AV1, MPEG-4, MJPEG; audio: AAC, MP3, Opus, Vorbis, FLAC, ALAC, AC-3, E-AC-3, PCM). Media in another container or codec is refused before decoding and reported as a processing failure. Audio is converted to WAV before transcription. MAX_FILE_SIZE_VIDEO defaults to 500 MiB and is configurable. Check the final caption track in the target player and review the complete recording before publishing.

Authenticated API usage

Use your deployment URL and an authorized API key. The localhost URL below is for a locally running API.

curl --fail --silent --show-error \
  -H "Authorization: Bearer $AELIRA_API_KEY" \
  -F "[email protected]" \
  "http://localhost:8000/education/multimedia/transcribe?generate_captions=true&whisper_model=base"

The request returns a scan_id while work runs in the queue. Poll GET /education/scans/{scan_id}/progress, then GET /education/scans/{scan_id}. Completed scan.result.structure.transcription_output contains captions.webvtt and captions.srt when generated; transcription segments are limited to the first ten in this stored preview, while full_text contains the joined transcript. No output_format form field is used. The transcribe route disables audio-description generation.

API authentication, lifecycle and errors

Evidence and review

This guide describes released Core source; availability in a hosted deployment depends on its release and configuration. Review output before publishing it.

Read the v0.14.0 source and limits

Media processor and optional output paths

Review findings, saved output and verification evidence