Skip to main content

帮助剪映快速生成草稿的方案

Project description

JianYingDraft.PY

项目简介

项目来源于 https://github.com/xiaoyiv/JianYingProDraft 因为原始库旷日持久没有更新,所以自己动手丰衣足食,基于此项目进行二次开发。 虽说是二次开发,但跟原始项目相比早就“肝胆楚越也”,因此也就没有对原始项目进行fork。

说明

  1. 实现原理 : 剪映的草稿文件是 json 的形式存储的。我们只需要创建draft_content.json,draft_mate_info.json ,其他文件则会在打开剪映软件后会自动补全。
  2. 添加一个媒体到轨道顺序 草稿媒体库 -> 内容媒体库-> 轨道片段
  3. add_material 会识别媒体类型,加入到对应轨道。
  4. 当没有视频轨道时,创建音频轨道会先创建视频轨道。

使用前先修改配置文件_projectConfig.ini内,剪映草稿文件夹路径为你本地正确的路径。

drafts_root=Z:/jianying/Data/JianyingPro Drafts

Project details


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.4.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

jianyingdraft_py-0.1.4-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file jianyingdraft_py-0.1.4.tar.gz.

File metadata

  • Download URL: jianyingdraft_py-0.1.4.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11

File hashes

Hashes for jianyingdraft_py-0.1.4.tar.gz
Algorithm Hash digest
SHA256 dea2fffd427132f4a03bcf39bd4a7d3370128728114082393027dfbb070d2a86
MD5 55a7e5cc4f7cb02c59752f98a2e83f93
BLAKE2b-256 62097d51b7bddaa9fc0308a5f74b29897644c6d81e1f971984ab1fe1c9d1bc7a

See more details on using hashes here.

File details

Details for the file jianyingdraft_py-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for jianyingdraft_py-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c1b63a0d7b70f432f26ae75befb0967e00aa03f838be6d6337f1fb2593a458f7
MD5 b86002015005c00164b6951fe2ee63a0
BLAKE2b-256 64547d2b598066635490e5366b178af09b56576bd9bf6bf8bff4a81bd821cf62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page