ice-moviepy [
]
a package for extracting short subtitled clips from movies by subtitle.srt file.
Installation
Use the package manager [pip] to install ice-moviepy.
pip install ice-moviepy
Usage
given a movie with a srt file subtitle, cut some parts of subtitle.srt and paste them into another file, such as sub.srt and run the following:
import ice_moviepy
ice_moviepy.subtitle2video("Video.mkv",'Sub.srt','logo.png')
or
ice_moviepy.subtitle2video("Video.mkv",'Sub.srt')
if you don't want to attach a watermark on it.
editing subtitle
you can colorize different parts of subtitle. for example you can use red{...}, blue{...}, yellow{...} and so on, to colorize your subtitle.
Place an {end} at the end of the block you want to cut out as a separate clip.
9
00:00:48,920 --> 00:00:51,151
There are two
kinds of pain.
10
00:00:51,280 --> 00:00:53,272
The sort of pain
blue{that makes} you strong
11
00:00:53,360 --> 00:00:57,240
red{or useless} yellow{pain}, the purple{sort of}
pain blue{that's} only orange{suffering}. {end}
Metadata
Release files for ice-moviepy 0.0.9
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 |
|---|---|---|---|---|
| ice-moviepy-0.0.9.tar.gz | 85.2 kB | Without provenance | Details for ice-moviepy-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ice_moviepy-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for ice_moviepy-0.0.9-py3-none-any.whl |
Total release size: 194.9 kB
Release files / ice-moviepy-0.0.9.tar.gz
| Download URL | ice-moviepy-0.0.9.tar.gz |
|---|---|
| Size | 85.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a020ec1b033762001d2720c87e5774bf897afa88065ea4329c000977b10243fd
|
|
BLAKE2b-256 checksum How to use checksums |
8d9c5a5b040d1ec802bb5d1243039785163d40b25542618f21e719c2fa3c88c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
|
Release files / ice_moviepy-0.0.9-py3-none-any.whl
| Download URL | ice_moviepy-0.0.9-py3-none-any.whl |
|---|---|
| Size | 109.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f213e20aa33f43a8a51ae7a5fc5d9ea97e879bc344307d276a68ce5b718c4b14
|
|
BLAKE2b-256 checksum How to use checksums |
dafcb39595af17e2e00e2b885483fceb59c0578c7f527a3e6a3b2ea22c68a471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
|
Security for ice-moviepy 0.0.9
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.