joker-studio
CLI tools for media file editing, wrapping FFmpeg and others
Install with pip (add sudo if necessary):
python3 -m pip install joker-studio
Crop
Example:
dio crop -c 0 0 .1 .2 -t 120 60 myvideo.mp4
This command will
- remove the leading 2 minutes and trailing 1 minute
- crop 10% at bottom and 20% on the left
- save result as
myvideo.crop.mp4(originalmyvideo.mp4untouched)
Convert
Convert multiple .ts videos to .mp4:
dio conv video1.ts video2.ts
Extract audio from video as .mp3:
dio conv -f mp3 -f myvideo.mp4
Split
Split a video into 4 segments of equal duration:
dio split -n 4 myvideo.mp4
Split into segments, each (but the last one) of duration 5 minutes (300 seconds):
dio split -s 300 myvideo.mp4
Fade
Add 10 sec audio fade-in, 6 sec video fade-in, 4 sec video fade-out
dio fade -a 10 0 -v 6 4 myvideo.mp4
Burn subtitle
This command generates a video with hard subtitle named myvideo.wSub.mp4
dio sub -s myvideo.english.srt myvideo.mp4
Rename files
Remove all "unsafe" characters on Unix-like systems, i.e. characters you should quote in shell scripts, and invalid characters on Microsoft Windows:
dio ren -f san *.jpg
Rename waterlife.jpg to img-800x600.waterlife.jpg:
dio ren -f img waterlife.jpg
Rename lightning.jpg to ih-F8F07B7F3F0E0E0F.lightning.jpg, where F8F07B7F3F0E0E0F is an imagehash
dio ren -f ih lightning.jpg
Remove preset prefixes:
dio ren -fn -c *.jpg
More info:
dio ren -h
Metadata
Release files for joker-studio 0.2.1
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 | |
|---|---|---|---|---|
| joker-studio-0.2.1.tar.gz | 19.6 kB | Without provenance | Details |
Release files / joker-studio-0.2.1.tar.gz
| Download URL | joker-studio-0.2.1.tar.gz |
|---|---|
| Size | 19.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e01cf27fd34dbbf6848e5ad13899d93d269827d13afc08623ea172e2cb6bd27f
|
|
BLAKE2b-256 checksum How to use checksums |
e9b7046a2c94ee33d9958770d70bd848e68880c24a7e202a5a9a24e466c5605e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.16
|
Security for joker-studio 0.2.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.