Skip to content

First Run

Run the package module with an input video:

poetry run python -m shortificator --input my_video.mp4

By default, the pipeline writes generated files to ./shorts_output.

Download from YouTube

Provide --youtube-url instead of --input:

poetry run python -m shortificator \
  --youtube-url "https://www.youtube.com/watch?v=XXXX" \
  --download-dir ./downloads \
  --video-quality best

Use a numeric height to cap the download resolution:

--video-quality 1080

Common profiles

poetry run python -m shortificator \
  --input talk.mp4 \
  --model mistral-small \
  --crop-mode face \
  --content-mode talking-head \
  --dynamic-subtitles
poetry run python -m shortificator \
  --input gameplay.mp4 \
  --model mistral-small \
  --crop-mode gameplay \
  --content-mode gameplay \
  --dynamic-subtitles