A lightweight, flexible, and easy-to-use Python tool for generating and exporting CapCut drafts to build fully automated video editing/remix pipelines!
Project description
A lightweight, flexible, and easy-to-use Python tool for generating and exporting CapCut drafts to build fully automated video editing/remix pipelines!
🧪 This project is being migrated from PyJianYingDraft. Please ⭐️ to stay tuned!
📢 Join the Discord server to discuss usage and new features
Workflow
Feature List
ℹ Please refer to Github Repository for full documentation.
Template Mode
🧪 This module has just been migrated. If something doesn’t fit your template, please open an issue.
- ☑️ Load an (unencrypted)
draft_content.jsonfile as a template - ☑️ Replace media for video/audio segments
- ☑️ Modify text contents of text segments
- ☑️ Import entire audio/video/text tracks from a template draft into another draft
- ☑️ Extract resource metadata (stickers/bubbles/fancy text, etc.)
Batch Export
⚠️ This module is being migrated. If interested, see the corresponding part in PyJianYingDraft
- ☑️ Control CapCut to open a specific draft
- ☑️ Export a draft to a specific location
- ☑️ Adjust export resolution and frame rate
Video and Image
🧪 This module has just been migrated. If animations/effects/transitions don’t take effect, please open an issue.
- ☑️ Add local video/image media, and customize segment timing, duration, or playback speed
- ☑️ Global video adjustments (rotation, scale, brightness, etc.) and keyframe generation
- ☑️ In/Out/Group animations for video segments
- ☑️ Add masks, segment effects, and filters
- ☑️ Video background fill (example code)
Stickers
- ☑️ Add stickers based on metadata extraction
- ☑️ Keyframe generation for stickers
Audio
- ☑️ Add local audio media, and customize segment timing, duration, or playback speed
- ☑️ Adjust fade in/out durations (example code), adjust volume (example code), and its keyframes
- ☑️ Add scene audio effects to audio segments and configure parameters
Tracks
- ☑️ Add tracks and append segments to a specific track
- ☑️ Customize layer ordering among video/filter/effect tracks
Effects, Filters, and Transitions
- ☑️ Clip-attached effects, filters, and animations
- ☑️ Standalone tracks for effects and filters
- ☑️ Add transitions (example code) and customize duration
Text and Subtitles
- ☑️ Add text, set fonts and styles, modify position and rotation of text segments
- ☑️ Keyframes and animations for text
- ☑️ Text stroke and text background
- ☑️ Text bubble effects and fancy text effects (example code)
- ☑️ Automatic line wrapping with configurable max line width
- ☑️ Import
.srtfiles to create subtitles in bulk and style them
ℹ The Github Repository contains a demonstration of the above features.
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 pycapcut-0.0.3.tar.gz.
File metadata
- Download URL: pycapcut-0.0.3.tar.gz
- Upload date:
- Size: 336.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfe9f46eded8e236aa4375c89a46fee8a485564977e4bb223444ce5ef2c62ee3
|
|
| MD5 |
436ffb6206438f8b2ff7ad8a05f8a0f6
|
|
| BLAKE2b-256 |
9be773c38b455f228f341ee48f87d0f716ccbf60314d4c3d1cf5526a84d3ce67
|
File details
Details for the file pycapcut-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pycapcut-0.0.3-py3-none-any.whl
- Upload date:
- Size: 343.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d51428cd3309c98cd1142a43dc87b231bc1283ea4f3d9ec0f6191a230644e73d
|
|
| MD5 |
b561abf3854248c025ba1ea996332ecd
|
|
| BLAKE2b-256 |
e4e25724cabc37c68ea1acc2c900bda04a2a7056294fc07cc9582225e6a56cfc
|