剪映草稿的快速生成方案
Project description
JianYingDraft.PY
项目简介
项目来源于 https://github.com/xiaoyiv/JianYingProDraft
因为原始库旷日持久没有更新,所以自己动手丰衣足食,基于此项目进行二次开发。
虽说是二次开发,但跟原始项目相比早就“肝胆楚越也”,因此也就没有对原始项目进行fork。
说明
- 实现原理 : 剪映的草稿文件是
json
的形式存储的。我们只需要创建draft_content.json
,draft_mate_info.json
,其他文件则会在打开剪映软件后会自动补全。 - 添加一个媒体到轨道顺序
草稿媒体库
->内容媒体库
->轨道片段
add_material
会识别媒体类型,加入到对应轨道。- 当没有视频轨道时,创建音频轨道会先创建视频轨道。
使用前先修改配置文件_projectConfig.ini内,剪映草稿文件夹路径为你本地正确的路径。
drafts_root=Z:/jianying/Data/JianyingPro Drafts
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
jianyingdraft_py-0.1.0.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file jianyingdraft_py-0.1.0.tar.gz
.
File metadata
- Download URL: jianyingdraft_py-0.1.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b2bdaa05234ac88ac6920eaee952c2dbb7af40e3ced2bb977a89a1c5b8bd87 |
|
MD5 | 222c4f3b3e963031ccd1736045859721 |
|
BLAKE2b-256 | caaec07b7708f7cc32c5cc7c3bdbe383f1df5cd89c7720ec38e248667f4a4ff9 |
File details
Details for the file jianyingdraft_py-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: jianyingdraft_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98b8674c70538397a6bee0503422143ef94aab6f59158dacbef51f231286614 |
|
MD5 | 69f701fc417298318a7b820763dc03df |
|
BLAKE2b-256 | a2c2a9b7f45766b7f97d23e068f8eb975e11d2f12fe5770d407866e78088a012 |