An open API service indexing awesome lists of open source software.

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

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