https://github.com/fcakyon/musicalpy
Easiest way of combining a music and a video
https://github.com/fcakyon/musicalpy
Last synced: over 1 year ago
JSON representation
Easiest way of combining a music and a video
- Host: GitHub
- URL: https://github.com/fcakyon/musicalpy
- Owner: fcakyon
- License: mit
- Created: 2022-11-06T10:01:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T12:34:17.000Z (over 3 years ago)
- Last Synced: 2025-02-08T09:47:08.358Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
musicalpy
A simple way of combining a music and a video (logo is a random [stable diffusion](https://huggingface.co/spaces/stabilityai/stable-diffusion) generation)
## installation
```bash
git clone https://github.com/fcakyon/musicalpy.git
pip install -r requirements.txt
```
## usage
set params in `main.py` and run it with python
```bash
python main.py
```
## params
`video_url_or_path`: youtube url or local path for base video
`music_url_or_path`: youtube url or local path for music to be mixed
`video_offset`: set to clip the starting seconds of video
`music_delay`: at which second should music start to play
`music_offset`: set to clip the starting seconds of music
`end_seconds`: max length of output video