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

Uploaded Source

Built Distribution

jianyingdraft_py-0.1.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jianyingdraft_py-0.1.1.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

Hashes for jianyingdraft_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eab7e8f7be0164428fd08fd700040281bf1a884a7cfebdbbb81578cbd57f9766
MD5 e733c1df14ad975cb8142184d3fb647d
BLAKE2b-256 0aa12692d8b7f3a7cfe16c83eddc9fb3867c5374bbffe9fa7eb6f2ca77df6a12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jianyingdraft_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69879f1790267124153b463a0cdbbd2363c219444930aaa73b1b5a0a85f83a5f
MD5 f5ed4b8f9c550ec3a83d4eb74797b493
BLAKE2b-256 9ffa09e4509ccfff1ee469a80ed98a9515f0ed364143420a45a599d6125ebd84

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