Process Python Morsels screencast file for publication
Project description
pm-process-video
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pm_process_video-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcee386202c22ea4ecb57ec99bf19882cfab5dee7c7a1272447121de5c93653c |
|
MD5 | 1528c32dbe1ae24e37029a9a3c1cbf23 |
|
BLAKE2b-256 | 460a3972a78c759e98f532df16ac3cf245fdb9d47b3e5f3b74df25f0be946222 |