# ð¡ SETUP
## Required Files:
#### music/ (folder for all song files, .wav only, no spaces in the name)
#### titles/ (input videos that are LONG - only for long intro /outro songs, .mp4 only)
#### videos/ (all other input videos, .mp4 only)
## â« INSTALL DEPENDENCIES FROM A CONDA ENVIRONMENT (strongly reccommended)
### make and activate new conda environment
```conda create -n [myEnv]```
```conda activate [myEnv]```
### navigate to the MusicVideoGenerator folder then run
```conda install --file Requirements.txt```
```pip install -r Requirements2.txt```
# ð¢ USEAGE:
```python MusicVideoGenerator.py -songName [song.wav] -bpm [int] --output [outputPrefix] --dynamic [True/False]```
# ð FAQS:
## What does it do?
- This program cleverly assembles your previously downloaded scaffold videos into a tempo synced music video based on a provided input song and bpm
## How does it do it?
1. Analyses a .wav file (located in music/)
2. Generates 3 seperate tempo and dynamically synced music videos out of random .mp4 videos located in videos/
3. Combines them through the use of overlay FX into one video located in output/
4. Applies chroma shifting to the final product to make the videos bleed into eachother for contrast.
## What does "dyamically synced" mean?
- Louder sections of your input song have a higher chance of faster / more intense visuals and vice versa.
## What does it not do?
- Generate music videos from thin air.
## Where can I find sample videos to use?
Royalty Free:
- https://www.pexels.com/
- https://pixabay.com/
There are also a small selection of videos in this repo to allow you to test the program. These are from pexels.
## What is the ouput format?
- Video is 720p, audio is 256kps AAC
## How fast is my song? What is my songs BPM?
- https://www.beatsperminuteonline.com/
## Richard, this thing is so slow it's making my head spin. I could do it way faster in Generic X movie editing software!
- Look, fair. My counter to that is you can leave and eat a sandwhich, call a loved one etc rather than have to sit through the the video editing process.
- You may have luck speeding it up by using smaller pool of scaffold videos, or using the --dynamic False flag if you only need tempo synced visuals.
- My runtimes are generally ~60 - 70 minutes per super loud song (16gb RAM). More RAM allows more videos to be loaded into memory and speeds up the process significantly. I acknowlege that this is nowhere near optimal performance, this is my first proper project. I am more than happy to collaborate with this project going forward.
## I've used this to make videos that now have billions of hits, how can I credit you?
- A public link to this repo in the description would be appreciated :)
## I run a company looking for a programmer like you, would you be interested in a position?
- Please get in contact: richardpienaar1@gmail.com
根据音乐的节奏产生动画视频,音乐可视化.zip
版权申诉
144 浏览量
2023-06-10
01:13:04
上传
评论
收藏 29KB ZIP 举报
小码蚁.
- 粉丝: 2569
- 资源: 4216
最新资源
- 计算机视觉(CV)open CV 人脸识别程序.docx
- python 端午节游戏,选择三个传统的端午节活动之一:包粽子、赛龙舟或挂艾草 根据玩家的选择,游戏会描述相应的情节,并在完成后
- C语言各版块实验题库、实验汇报以及实验教学案例资源
- 数据库连接(MySQL与VS2022)_vs2022 mysql-CSDN博客 (2024_6_1 19_11_34).html
- Flappy bird小游戏
- 数电实验五:555单稳态触发电路、555单稳态触发电路、555构成的施密特触发器
- MySQLTuner,一个用Perl编写的脚本,它允许你快速审查MySQL安装情况,并进行调整以提高性能和稳定性
- 冒泡排序 基础排序 插入排序 快速排序 双路快速排序 三路快速排序 堆排序.zip
- 数电实验四:加法计数器、减法计数器、加法器、建议数字钟、74LS192功能测试
- JSP基于网络超市商品销售管理系统的设计与实现(源代码+lw).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈