1.1 KiB
PPTX video reports
Extract videos and create a Markdown timing report:
python3 tools/pptx_videos.py presentation.pptx
Generate one or more report formats without keeping newly extracted videos:
python3 tools/pptx_videos.py presentation.pptx --timings-only --report html,pdf
python3 tools/pptx_videos.py presentation.pptx --report html,typst,pdf,md,txt,json
--report accepts comma-separated formats and can be repeated. Markdown is the
default. Reports are saved as timings.* in <presentation-stem>_videos, or the
directory supplied with -o. PDF uses the Typst CLI and retains timings.typ
for editing. HTML and Typst/PDF include colored summary cards and pills;
Markdown and TXT use aligned tables. JSON includes numeric durations in seconds,
sizes in bytes, and slide references.
Timings require ffprobe (from FFmpeg); PDF additionally requires typst on
PATH. Use --extract-only to extract without a report. Presentations with no
embedded videos produce no output. Terminal progress uses colors automatically;
set NO_COLOR to disable them.