We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照Readme里的例子,添加了如下代码: script.add_material(audio_material).add_material(video_material) # 随手添加素材是好习惯
打开剪映后,在剪映的“媒体” -> “本地”里,没有展示添加的素材。
The text was updated successfully, but these errors were encountered:
此处的add_material方法实际上是向draft_content.json中添加素材信息供生成的视频片段使用,由于“媒体 -> 本地”的数据并非记录在draft_content.json里(事实上在draft_meta_info.json中),不在此处展示添加的素材其实是正常情况
add_material
draft_content.json
draft_meta_info.json
Sorry, something went wrong.
那应该如何操作,能满足 在剪映 里能素材呢? 我的需求目的是想 提取关键帧+动画,让视频更cool。所以现在有两个方案:
如果只是希望添加一般的关键帧和动画,当前框架里的关键帧和视频动画应当已经足够了,两个网址里面有还算详细的示例 但如果还是希望素材出现在剪映的媒体栏里,那就需要在draft_meta_info.json的draft_materials属性里添加素材的路径等信息以供剪映读取
draft_materials
非常感谢,以下两块,能给一些例子吗?
“两个网址里面有还算详细的示例” “需要在draft_meta_info.json的draft_materials属性里添加素材的路径等信息以供剪映读取”
No branches or pull requests
按照Readme里的例子,添加了如下代码:
script.add_material(audio_material).add_material(video_material) # 随手添加素材是好习惯
打开剪映后,在剪映的“媒体” -> “本地”里,没有展示添加的素材。
The text was updated successfully, but these errors were encountered: