Git Product home page Git Product logo

video_maker's Introduction

LOGO

Video Maker


Python 视频生成器


⚠️ 当前基本功能已经实现,可供优化的地方太多,正在边学,边做,进程缓慢,见谅,如果项目存在侵权行为,请立即联系删除

项目描述

使用 manim 进行视频的构建,只能构建一些简单的视频,复杂的部分正在研究中

使用方法

  1. 下载 / 克隆仓库文件到本地
git clone https://github.com/MarySueTeam/Video_Maker.git
  1. 修改配置文件内容【目前还不支持统一配置,我会不断优化的】

  2. 创建本地虚拟环境

# pip install virtualvenv
virtualvenv venv
  1. 安装 Python 的必要模块
source ./venv/bin/activate
pip install -r requirements.txt
  1. 存放文字
文字内容存放在 ./media/words/words.txt 中
需要自己存放写入

* 其他的文字内容需要修改源代码,日后会解决,目前能力有限
  1. 构建视频
chmod +x *.sh

./build.sh -> 主要用于最后输出
或者
./run.sh -> 主要用于日常预览

TODO

  • 重新设计实现步骤

项目结构

致谢 🙏

更新日志

  • 2022 年 04 月 24 日 (2.0.0):

    • 迁移到 manim 引擎 并加入暂时性的 TTS
  • 2021 年 12 月 3 日:

    • 重新部署项目,使用更好更加优化的视频生成器
  • 2021 年 02 月 08 日 (1.0.0):

    • 添加自动调整音频时长匹配视频
    • 支持多个 BGM
    • 添加片尾
    • 优化代码结构

video_maker's People

Contributors

allinu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

video_maker's Issues

使用更加成熟的框架 Manim 进行

moviepy 这个包,用下来功能不完善,文档不全,整体感觉实现不了自己的需求

最近又接触了 manim 这个框架,觉得还不错,虽然是做教学视频的,用来做一些小视频问题应该不大。

打算一边翻译文档,一边进行使用,这样既学习了英文,又理解了框架

以下为计划流程,各个部分将分别开isuse进行

  • 翻译文档 #6
  • 制订方案策略 #7
  • 改用框架 #8
  • 测试小的项目 #9
  • ......

自动生成封面图片

您的功能请求是源自于一个程序问题么
新的需求

描述您所需要的解决办法
在程序运行的过程中生成视频封面,方便上传视频是使用

附加信息

  • 设计封面样式
    • Bilibili 封面
  • 实现封面样式

问题报告

描述问题
mac合成后没有声音,是否因为编码不兼容?添加audio_codec问题解决

final_clip.write_videofile(output_file,audio_codec="aac")
附加信息

将gif和video融合到工作流中是否可行?

翻译 Manim 文档

翻译进度

  • 安装
  • 教程
  • 示例库
  • 更新日志
  • 参考手册
  • 插件
  • 报告错误
  • 贡献
  • 行为守则

根据图片的特点生成背景

现在的指定纯色填充过于落后,观看体验较差

描述您所需要的解决办法

希望程序能够根据图片的样式特点来自动的调整背景填充样式


例如

image
这张,背景应该为白色


image
这张背景应该为 264 104 110 (边缘色彩)


如果不像上面两张,类似下面这种

image

应该原图模糊然后放大填充背景


附加信息

上面的图片均来自于Pixiv画师(川口イッサAoi Ogata),无意冒犯。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.