Metadata-Version: 2.1
Name: stenocaptioner
Version: 0.1.2
Summary: 
License: MIT
Author: nekanat
Author-email: nekanat.stock@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: ffmpeg-python (==0.2.0)
Requires-Dist: more-itertools (>=9.0.0,<10.0.0)
Requires-Dist: moviepy (>=1.0.3,<2.0.0)
Requires-Dist: numpy (>=1.23.5,<2.0.0)
Requires-Dist: torch (>=1.13.0,<2.0.0)
Requires-Dist: tqdm (>=4.64.1,<5.0.0)
Requires-Dist: transformers (>=4.25.1,<5.0.0)
Requires-Dist: youtube-dl (>=2021.12.17,<2022.0.0)
Description-Content-Type: text/markdown

# stenocaptioner

Automatic subtitling tool using whisper.

## Installation

### Ubuntu

```sh
sudo apt-get -y install imagemagick fonts-vlgothic
```

You will also need to modify the ImageMagick configuration file to comment out the following policy.

```
sudo vi /etc/ImageMagick-6/policy.xml
  <!--
  <policy domain="path" pattern="@*" rights="none">
  -->
```

Install with pip.

```sh
pip install git+https://github.com/openai/whisper.git
pip install stenocaptioner
```

## Usage

```sh
stenocaptioner https://www.youtube.com/watch?v=A6GG65TAEYo --language ja --text-color red
```

