Skip to main content

Process Python Morsels screencast file for publication

Project description

pm-process-video

PyPI - Version PyPI - Python Version


Installation

pipx install pm-process-video

Then run:

process_video my_file.vtt

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

from pm.process_video import vtt_to_text

Usage

Running this:

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.

Publish

To try out the current implementation without building:

hatch run process_video ...

To build and publish:

hatch build
hatch publish

License

pm-process-video is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pm_process_video-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

pm_process_video-0.0.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page