Skip to main content

talk-notes

Turns a recorded tech talk into a knowledge-base entry:

  • slides/: one image per slide, detected from the video.
  • talk.md: the transcript grouped under each slide, with timestamp links back to the video.
  • report.md (optional): a structured reference document written by an LLM from talk.md and the slides.

Download, transcription and slide detection run locally (yt-dlp, faster-whisper, ffmpeg). The slide crop and the report use an LLM: the Claude Code CLI (default) or a local Ollama model, so the whole pipeline can run offline.

Install

uv tool install talk-notes            # CPU only
uv tool install "talk-notes[gpu]"     # NVIDIA GPU (CUDA 12)

Or run it without installing: uvx talk-notes .... pip install talk-notes works too. YouTube downloads also need Node or Deno on PATH. ffmpeg is taken from PATH, or a bundled build is used.

Usage

talk-notes "https://www.youtube.com/watch?v=VIDEO_ID"                         # report via Claude Code
talk-notes ~/Videos/talk.mp4 --device cuda --llm ollama                       # fully local
talk-notes "https://www.youtube.com/watch?v=VIDEO_ID" --no-report --crop none  # no LLM

The source is a local video or any URL yt-dlp supports. Output goes to out/<title>-<id>/ in the current directory. Run talk-notes --help for all options.

Reruns reuse each step (transcript, crop, slides, report) until an option that affects it changes; changing --slide-threshold, for example, redoes the slides and the report but not the transcript. --redo slides,report or --redo all forces steps to run again.

Transcription

Option Default Notes
--device auto|cpu|cuda auto auto uses CUDA when a GPU is visible
--whisper-model large-v3-turbo on CUDA, small on CPU Any faster-whisper model
--language auto-detect Setting it (e.g. en) avoids misdetection
--transcript captions whisper Uses the site's captions (URLs only): much faster, but auto-captions lack punctuation

An 18-minute talk takes about 4.5 minutes end to end with small on a 4-core CPU. For accents, poor audio or non-English talks, use --whisper-model large-v3-turbo on CPU too.

Slides

A frame is sampled every --slide-interval seconds and perceptually hashed; a new slide starts where the picture changes by more than --slide-threshold bits. Each slide is saved as its last frame, so incremental builds appear complete.

  • Too many near-duplicates: raise --min-slide-duration (8–12 for live coding) or --slide-threshold.
  • Missed slides: lower --slide-threshold.
  • Add --keep-media while tuning, so the video isn't downloaded again.

--crop auto (default) asks the LLM for the slide area, so a speaker camera or conference banner doesn't trigger new slides. A camera overlaid on full-frame slides is masked during detection but kept in the images. Check crop/preview.jpg (crop in red, mask in blue). If it is wrong, pass the box by hand as --crop w:h:x:y (ffmpeg syntax, source pixels) or use --crop none. If the LLM call fails, the full frame is used.

Report

report.md classifies the talk (problem-solving story, argument, tutorial, catalogue, product demo or mixed) and follows that type's outline. Each point is labelled Problem, Cause, Evidence, Solution, Recommendation, Opinion or Caveat, and anything the model added is marked (inferred). It ends with the slides' code verbatim, For coding agents rules (When / Do / Why) and references.

--prompt my-prompt.md replaces the default instructions (talk_notes/prompts/report.md); {{ISSUES_URL}} in it expands to this repo's issues page. --no-report skips the report.

LLM backends

--llm picks the backend for --crop auto and the report; --llm-model overrides its model.

  • claude (default): runs the Claude Code CLI (claude -p) read-only in the output folder.
  • ollama: uses a local Ollama server (--ollama-url, default http://localhost:11434; model qwen3-vl:8b-instruct). Start it with OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama serve to fit more of the model on the GPU.

Using the output

Copy the talk folder (or report.md and slides/) into a repo's docs and reference it from CLAUDE.md or AGENTS.md, e.g. See docs/talks/<name>/report.md for .... For exact quotes, talk.md is the source of truth.

Development

git clone https://github.com/ManuelCarullo/talk-notes && cd talk-notes
uv sync                       # add --extra gpu for CUDA
uv run talk-notes ...
uv run pytest && uv run ruff check talk_notes tests

License

MIT, see LICENSE. The license covers talk-notes, not its output: transcripts, slides and reports derive from the talks and remain subject to their copyright and the hosting site's terms. Process only talks you have the right to use, and publish the output only if you are allowed to.

Metadata

Release files for talk-notes 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for talk-notes 0.1.0
File Size Uploaded Provenance Actions
talk_notes-0.1.0.tar.gz 166.0 kB Without provenance Details for talk_notes-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for talk-notes 0.1.0
File Interpreter ABI Platform Actions
talk_notes-0.1.0-py3-none-any.whl Python 3 none any Details for talk_notes-0.1.0-py3-none-any.whl

Total release size: 197.8 kB

Release files / talk_notes-0.1.0.tar.gz

Download URL talk_notes-0.1.0.tar.gz
Size 166.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c7c6b29fed6e0811ebff0f554ef5ec599817ef6de9ee8e20151cbf2437b34961
BLAKE2b-256 checksum
How to use checksums
4525cfea2725a8fbc52fd7efd80fa6e4736c3137fc9ed6500d27d599991ecd24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / talk_notes-0.1.0-py3-none-any.whl

Download URL talk_notes-0.1.0-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0f4f5c5935f3539159bd802d0e1fcb8a844bab2b197818322e7e6a47a159628
BLAKE2b-256 checksum
How to use checksums
16440f4afacf475978b263f565936da4e47dcbed0ca5af699a0428e778c45526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for talk-notes 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page