Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.09 KB

File metadata and controls

41 lines (27 loc) · 1.09 KB

Auto-caption.

PyPI PyPI - Downloads PyPI - License Build/release

Install.

Install ffmpeg first.

sudo apt install ffmpeg

Install through pypi.

pip3 install auto-caption

Usage.

usage: auto-caption [-h] [--format FORMAT] [--output OUTPUT] video

Automatic captioning for movies.

positional arguments:
  video            The path of input video

optional arguments:
  -h, --help       show this help message and exit
  --format FORMAT  Output format (vtt/srt, default: vtt)
  --output OUTPUT  The path to write subtitle file

Sample.

Click here to see sample captions generated by this program.