anyconv-speech-basic
Расшифровка аудио и видео через whisper.cpp с моделью ggml-tiny.
Возможности
speech-transcribe— аудио/видео →text:plain, SRT или WebVTT.- Модель по умолчанию:
ggml-tiny.bin. - Аудио из видео извлекается FFmpeg в WAV 16 kHz mono.
- Настройки:
language(auto,ru,en),translate.
Требования
whisper.cppCLI (whisper-cli/main).- Модель
ggml-tiny.bin. - FFmpeg в
PATHилиffmpeg_path.
Пути задаются в конфигурации модуля:
modules:
config:
com.gitlab.raceozr.speech-basic:
whisper_path: /opt/whisper/whisper-cli
model_path: /opt/whisper/ggml-tiny.bin
ffmpeg_path: /usr/bin/ffmpeg
Можно использовать WHISPER_CLI, WHISPER_MODEL и FFMPEG_PATH.
Установка
pip install "anyconv-core[all] @ git+https://gitlab.com/raceozr/anyconv-core.git@v1.0.0"
pip install "git+https://gitlab.com/raceozr/anyconv-modules.git@v1.0.1#subdirectory=modules/speech-basic"
# ?????????? ?? checkout anyconv-modules
cd modules/speech-basic
pip install -e ".[dev]"
pytest
anyconv module validate .
anyconv module test .
Metadata
Release files for anyconv-speech-basic 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anyconv_speech_basic-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for anyconv_speech_basic-1.0.1-py3-none-any.whl |
Release files / anyconv_speech_basic-1.0.1-py3-none-any.whl
| Download URL | anyconv_speech_basic-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20fe19a9d306b429c065bff186de472aed8d8cf22448926930ea43d827516e22
|
|
BLAKE2b-256 checksum How to use checksums |
34792d179de944918d47fcb4966d1b6b539abf3615d0f5a9d6530fb3abce7d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for anyconv-speech-basic 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.