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_media会识别媒体类型,加入到对应轨道。- 当没有视频轨道时,创建音频轨道会先创建视频轨道。
使用步骤与说明
- 使用前先修改配置文件
_projectConfig.ini内,剪映草稿文件夹路径为你本地正确的路径。drafts_root=Z:/jianying/Data/JianyingPro Drafts
- 根据自己的需求修改
main.py内的代码。运行main.py。
Metadata
Release files for JianYingDraft.PY 1.0.4
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 | Actions |
|---|---|---|---|---|
| jianyingdraft_py-1.0.4.tar.gz | 18.3 kB | Without provenance | Details for jianyingdraft_py-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jianyingdraft_py-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for jianyingdraft_py-1.0.4-py3-none-any.whl |
Total release size: 45.2 kB
Release files / jianyingdraft_py-1.0.4.tar.gz
| Download URL | jianyingdraft_py-1.0.4.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fe4cb1dc06e5113f235b2708c745a0e4f1707e5557fb866d52807df0e7be7f9
|
|
BLAKE2b-256 checksum How to use checksums |
4a2f3568879e40005617d38fdcc4670afdd7c4022c581c72d5d6841f5b2a9d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.2 Windows/11
|
Release files / jianyingdraft_py-1.0.4-py3-none-any.whl
| Download URL | jianyingdraft_py-1.0.4-py3-none-any.whl |
|---|---|
| Size | 26.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0e4777b426e9b87fd55258ab0fc24525fa7142869b69300900e1cdced5006ca
|
|
BLAKE2b-256 checksum How to use checksums |
782348f750aa813bdd5b102d633b8b2af5f92ddcd44bc4717ac8e9af9c1b7e28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.2 Windows/11
|
Security for JianYingDraft.PY 1.0.4
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.