Coder Social home page Coder Social logo

otminkranking's Introduction

音之墨音MAD排行榜

本项目是目前正在 B 站上持续发布的音之墨音MAD排行榜的自动化合成脚本,主要使用 Python 语言编写。

必需文件

Python 模块

详见requirements.txt

所需要的其它依赖项

必须填充的文件

  • custom/ed.mp4
  • custom/staff.png

选择性填充文件

  • custom/pick.csv(Pick Up 作品)
  • custom/blacklist.csv(黑名单作品)
  • custom/adjust.csv(对某 UID 的作品评分进行系数调整)
  • custom/ads/* (视频前的广告)

数据获取/合成

非自定义自动化获取数据(含评分、视频合成)

首先爬取数据。

python advanced_main.py

数据将保存在custom文件夹中,在检查custom/data.csv数据无误后,进行图片合成。

python second_main.py

视频合成所需文件也将保存在custom文件夹中,将custom文件夹拷贝到异机同样可以渲染。 检查无误后,随后进行视频合成。

python main_ff.py

视频将保存至output_all文件夹中。

自定义作品获取数据(仅数据)

custom/custom.csv文件按格式填写aid(作品 av 号,不含 av 前缀)owner(自定义视频作者,非搬运请留空)

python custom.py

随后请提取data/customed.csv,使用 TEditor 导入template/main.ted模板自行合成图片。

otminkranking's People

Contributors

mixbadgun avatar ecral5t avatar

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.