Metadata-Version: 2.3
Name: pm-process-video
Version: 0.0.2
Summary: Process Python Morsels screencast file for publication
Project-URL: Documentation, https://github.com/TruthfulTechnology/pm-process-video#readme
Project-URL: Issues, https://github.com/TruthfulTechnology/pm-process-video/issues
Project-URL: Source, https://github.com/TruthfulTechnology/pm-process-video
Author-email: Trey Hunner <trey@pythonmorsels.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: aiohttp==3.8.4
Requires-Dist: aiosignal==1.3.1
Requires-Dist: async-timeout==4.0.2
Requires-Dist: attrs==22.2.0
Requires-Dist: certifi==2022.12.7
Requires-Dist: charset-normalizer==3.1.0
Requires-Dist: colorama==0.4.6
Requires-Dist: colorlog==6.7.0
Requires-Dist: ffmpeg-normalize==1.26.6
Requires-Dist: ffmpeg-progress-yield==0.7.2
Requires-Dist: ffmpeg-python==0.2.0
Requires-Dist: frozenlist==1.3.3
Requires-Dist: future==0.18.3
Requires-Dist: idna==3.4
Requires-Dist: multidict==6.0.4
Requires-Dist: openai==0.27.2
Requires-Dist: pm-vtt2txt==0.0.2
Requires-Dist: requests==2.28.2
Requires-Dist: tqdm==4.65.0
Requires-Dist: urllib3==1.26.15
Requires-Dist: yarl==1.8.2
Description-Content-Type: text/markdown

# pm-process-video

[![PyPI - Version](https://img.shields.io/pypi/v/pm-process-video.svg)](https://pypi.org/project/pm-process-video)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pm-process-video.svg)](https://pypi.org/project/pm-process-video)

-----

## Installation

```console
pipx install pm-process-video
```

## Usage

Running this:

```console
process_video "My video file.mkv"
```

Will normalize the audio, transcribe using Open AI's whisper, and save the file, transcription, and text transcript in `~/Documents/screencast/encoded`.
You can customize the target directory with the `--target-dir` option.

This package is installed under the `pm` package namespace.
To use it in Python code import like this:

```python
from pm.process_video import process_video
```

## Publish

To try out the current implementation without building:

```console
hatch run process_video ...
```

To build and publish:

```console
hatch build
hatch publish
```

## License

`pm-process-video` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
