帮助剪映快速生成草稿的方案
Project description
JianYingDraft.PY
项目简介
项目来源于 https://github.com/xiaoyiv/JianYingProDraft
因为原始库旷日持久没有更新,所以自己动手丰衣足食,基于此项目进行二次开发。
虽说是二次开发,但跟原始项目相比早就“肝胆楚越也”,因此也就没有对原始项目进行fork。
▌参考资料: 剪映草稿文件的说明,另外可以参考文章:https://blog.csdn.net/a820206256/article/details/134428639
剪映的草稿原理说明
- 实现原理 : 剪映的草稿文件是
json的形式存储的。我们只需要创建draft_content.json和draft_mate_info.json,其他文件则会在打开剪映软件后会自动补全。draft_mate_info.json内的素材信息会出现在剪映左侧的素材库中;两个文件内都记录了素材信息,draft_content.json的素材信息会出现在剪映下侧的时间线上。 - 添加一个媒体素材到剪映软件,剪映会将其数据记录进入“草稿元数据库” 和 “草稿内容库”(包括素材部分和轨道部分)
本软件的实现原理说明
add_material会识别媒体类型,加入到对应轨道。- 当没有视频轨道时,创建音频轨道会先创建视频轨道。
使用步骤与说明
- 使用前先修改配置文件
_projectConfig.ini内,剪映草稿文件夹路径为你本地正确的路径。drafts_root=Z:/jianying/Data/JianyingPro Drafts
- 运行
main.py
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.5.tar.gz
(12.3 kB
view details)
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 jianyingdraft_py-0.1.5.tar.gz.
File metadata
- Download URL: jianyingdraft_py-0.1.5.tar.gz
- Upload date:
- Size: 12.3 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 |
b4f298e4b8c8662b287195b3fed4bdf3e1bb5110097c1962e53c4c165d335512
|
|
| MD5 |
5e06523dea1d632d413a6cf9d6331f19
|
|
| BLAKE2b-256 |
f3afe49fc841a3cb00b1cf249a106087c664effe6a34c86a0206f58f821d47f4
|
File details
Details for the file jianyingdraft_py-0.1.5-py3-none-any.whl.
File metadata
- Download URL: jianyingdraft_py-0.1.5-py3-none-any.whl
- Upload date:
- Size: 19.4 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 |
a5c9acbdaf7ec8b261a4b572d48b2fde88fe728a6b520c23929186ec105e9d8d
|
|
| MD5 |
37c4bf69de6bc4c402ee3233059be06e
|
|
| BLAKE2b-256 |
02616359b4d41a2201184faef52166dc28cb5f3196a3e0059145e33822a68ae8
|