Turn one or more lecture recordings and optional slide PDFs into illustrated Markdown notes with timestamps and useful audience Q&A. Audio transcription and slide matching run on your Mac. Codex sends transcript excerpts, relevant PDF text, and selected images to OpenAI to write and review the notes.
Abstracter runs on Apple Silicon Macs with Python 3.12 or 3.13. To set up a fresh Mac:
-
Run
xcode-select --installin Terminal and finish the installer. Apple's Command Line Tools provide the Swift compiler used for slide OCR. -
If you need Homebrew, follow its installation instructions, including the final step that adds
brewto your shell. Homebrew installation guide -
Install Python, FFmpeg (which includes
ffprobe), and the Codex CLI, then sign in to codex:brew install python@3.12 ffmpeg brew install --cask codex codex login
From the project checkout, install Abstracter in a virtual environment and prepare the default Parakeet model:
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
abstracter setupSetup checks the prerequisites and downloads model weights from Hugging Face. Rerunning it reuses cached weights. To install the optional Whisper decoder and its weights, run abstracter setup --with-whisper. Select it for a run with --asr whisper. Transcription cross-checking is a separate opt-in via --asr-review suspect. Whisper is heavier and slower, but can be more accurate.
Pass the recordings in playback order, followed by the slide PDFs. Use a separate output directory for each lecture.
abstracter run part-1.mp4 part-2.mp4 slides-1.pdf slides-2.pdf --out output/week-1Open output/week-1/abstract.md and keep its assets/ folder alongside it. After the notes pass validation, Abstracter removes the lecture’s processing cache and unused video frames. Add --keep-cache to retain them for faster reprocessing. Failed, interrupted, and preparation- or transcription-only runs keep their checkpoints. Rerun the same command to resume.
# A recording without slides
abstracter run seminar.mp4 --out output/seminar
# English notes from a Russian lecture
abstracter run lecture.mp4 slides.pdf --language ru --output-language en --out output/english-notes
# Slides plus a paper for reference
abstracter run lecture.mp4 slides.pdf --reference paper.pdf --out output/readingThe default language is Russian. Use abstracter --help to list commands, abstracter setup --help for installation options, and abstracter run --help for processing options.
- FFmpeg extracts 16 kHz mono audio from each recording. Parakeet (or optional Whisper) transcribes overlapping chunks locally. Abstracter uses word timestamps to merge the overlaps.
- FFmpeg samples video frames every 20 seconds by default. PyMuPDF renders the supplied slide pages and extracts their text.
- OpenCV matches visual features between frames and slides (SIFT) and checks their geometric alignment (RANSAC). Apple Vision OCR supplies title and body text to help distinguish similar slides. Abstracter also keeps sharp frames from across the recording for whiteboards and demos.
- Codex reads transcript excerpts alongside the corresponding slides and frames, extracts concepts and useful Q&A, then writes the abstract and selects its illustrations.
- Codex reviews the draft against the source excerpts and images. Abstracter checks source references and image links, renders the Markdown with timestamps, and records unresolved findings in
quality-report.md.
Abstracter’s code is available under the MIT License. Its dependencies retain their own licenses. Use and distribution with PyMuPDF are subject to the GNU AGPL or a commercial license from Artifex. PyMuPDF licensing