What does this project do?
A tool that manages to cut a media file into small sections according to a subtitle.
Supported subtitle format
.srt
Installation
Via pip
pip install NiceCut
Usage
Common usage
cd video-location
ncut file-name.mp4 file-name.srt
Generated files should be appeared in ~/NiceCut/clips and ~/NiceCut/texts, which contains video clips and dialogs respectively.
Help
$ ncut -h
usage: ncut [-h] [-st SAVE_TO] [-gns] [-ns {subtitle,media,all}] [-bc MILLISECONDS_BEFORE_CUTTING]
[-ac MILLISECONDS_AFTER_CUTTING] [-f] [-d] [-v]
media_file subtitle_file
positional arguments:
media_file
subtitle_file
optional arguments:
-h, --help show this help message and exit
-st SAVE_TO, --save-to SAVE_TO
Setup the workspace path that saved the results.
-gns, --generate-new-subtitle
Save the new generated subtitle to the folder where the original subtitle file is.
-ns {subtitle,media,all}, --no-splits {subtitle,media,all}
Indicate that don't split the media/subtitle file, but will generate a new subtitle if
'-gns/--generate-new-subtitle' is present.
-bc MILLISECONDS_BEFORE_CUTTING, --milliseconds-before-cutting MILLISECONDS_BEFORE_CUTTING
-ac MILLISECONDS_AFTER_CUTTING, --milliseconds-after-cutting MILLISECONDS_AFTER_CUTTING
-f, --force-update
-d, --debug
-v, --version show program's version number and exit
Metadata
Release files for NiceCut 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| NiceCut-0.1.0.tar.gz | 18.7 kB | Without provenance | Details for NiceCut-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NiceCut-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for NiceCut-0.1.0-py3-none-any.whl |
Total release size: 38.6 kB
Release files / NiceCut-0.1.0.tar.gz
| Download URL | NiceCut-0.1.0.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f13b07a470f248660dfaa796c0140e657c5c4ed15a5d0afe3a27f88932cdeac1
|
|
BLAKE2b-256 checksum How to use checksums |
ea55aea87dd3ad55964dd03155cd01f2bbcbf0fac5457adb47789f70014f0e4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0
|
Release files / NiceCut-0.1.0-py3-none-any.whl
| Download URL | NiceCut-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8c98c55f9cd6b6f1f7860ed8e2ba0911aa82d1d4f16a513340e0a03b626b877
|
|
BLAKE2b-256 checksum How to use checksums |
5be4632fc70c704d20c7720223fdac7ba56402e2dfb4d92ce3d931b9467abdd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0
|
Security for NiceCut 0.1.0
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.