Skip to main content

an easy tool to split dubs based on given silence

Project description

DubSplitter

Description

an easy tool to split dubs based on given silence

Screenshot

Params

Command type Info
-f, --fileName option file to process
-o, --outFilePath option output folder, if not set, will use scriptPath + \\Out\\ (as script), or userPath + \\DubSplitter\\Out\\ (as package)
-s, --silence option silence time, in ms, default is 1000ms
-r, --range option range, default is 100ms. e.g., silence = 400, range = 100 will slice in 400ms and 500ms
--step option loop step, default is 100ms
--noVR option don't use voice recognition, default is false
--model option whisper model, default is base
--language option language used in whisper, default is chinese

Usage

open folder in terminal, then run python main.py

or use command pip install DubSplitter to install package, then run dubSplitter

Note

if whisper doesn't use GPU, you need to uninstall CPU version first then install GPU version

pip uninstall torch
pip cache purge
# from https://pytorch.org/get-started/locally/
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

Changelog

230407 0.2.0

  • print version when boot

230407 0.1.3

  • fix typo

230407 0.1.2

  • optimize update_path

230407 0.1.1

  • update readme

230407 0.1.0

  • init release

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

DubSplitter-0.2.0.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

DubSplitter-0.2.0-py3-none-any.whl (7.8 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