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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pm_process_video-0.0.1.tar.gz.

File metadata

  • Download URL: pm_process_video-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for pm_process_video-0.0.1.tar.gz
Algorithm Hash digest
SHA256 701e228a50f8b059927836f9df0aabf1fd4a83fe7b8984297cf161daa7e052b2
MD5 0def7d6ea75d37a93159a1e387aa0f6b
BLAKE2b-256 7a872ee6b54a10df95c25f855564877d0bdde154ae8681b16707c7bb92c07240

See more details on using hashes here.

File details

Details for the file pm_process_video-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pm_process_video-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcee386202c22ea4ecb57ec99bf19882cfab5dee7c7a1272447121de5c93653c
MD5 1528c32dbe1ae24e37029a9a3c1cbf23
BLAKE2b-256 460a3972a78c759e98f532df16ac3cf245fdb9d47b3e5f3b74df25f0be946222

See more details on using hashes here.

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