CLI and Python helpers for converting videos into social-ready publishing profiles.
Project description
motionkit-video-converter
motionkit-video-converter is a Python CLI and library for converting videos
into social-ready aspect-ratio profiles with local ffmpeg.
Part of the HappyHorse toolset: https://happyhorseai.im/
Install
pip install motionkit-video-converter
ffmpeg must already be available on your system PATH.
Requirements
- local
ffmpeg - Python 3.10+
CLI
Single conversion:
motionkit-video convert input.mp4 --profile reel --format mp4
motionkit-video convert clip.mov --profile square --mode pad --format webm
Batch conversion:
motionkit-video batch ./videos --profile story --format mp4 --output-dir ./dist
motionkit-video batch ./videos --profile landscape --recursive --mode crop
Python API
from motionkit_video_converter import batch_convert, convert_video
result = convert_video("input.mp4", profile="reel", output_format="mp4")
Profiles
reel: 1080x1920story: 1080x1920square: 1080x1080landscape: 1920x1080
Rendering Modes
crop: fill frame and center-croppad: fit video inside frame and pad the rest
Website
- HappyHorse: https://happyhorseai.im/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file motionkit_video_converter-0.1.1.tar.gz.
File metadata
- Download URL: motionkit_video_converter-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e3d25adf13ac4eb2185fc848887f800e832e19a1d6a6165c88618b10534812
|
|
| MD5 |
f5eaa5d956071865c729ff93977056b2
|
|
| BLAKE2b-256 |
b84d695716e05e061f33ada5cab8550e333a178c10522d04e7ea25e5a3cfa148
|
File details
Details for the file motionkit_video_converter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: motionkit_video_converter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4153cecd0e2115066e121a71b860dc81e82d9c7212d8a239c5e875d0b8f27cb
|
|
| MD5 |
3a92dd8550423e6177a2b9b63403b1d4
|
|
| BLAKE2b-256 |
802fc4be5480e3d46ad9027545e86a522712f556a9ef0597576beb9ba3b9160d
|