aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md41
1 files changed, 30 insertions, 11 deletions
diff --git a/README.md b/README.md
index 0fea756..fceb850 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,21 @@
# vaporwave generator 旺育栄
-A vaporwave music (+art, +video soon, I promise) generator bodged together using code from various sources. Runs on Python3
+A vaporwave music + image + video (+art soon, I promise) generator bodged together using code from various sources. Runs on Python 3. VHSVideo option is really really slow (Seconds per frame is 7.)
```
-usage: main.py [-h] [-M] [-P] [-V] [-i INPUT]
+usage: main.py [-h] [-M] [-P] [-V] [-v] [-i INPUT] [-o OUTPUT]
-This program takes YouTube URL or title of a song and converts it into
-vaporwave
+| V A P O R W A V E || G E N E R A T O R |
optional arguments:
-h, --help show this help message and exit
-M, --music generate v a p o r w a v e music
-P, --picture generate VHS Style image
- -V, --version show program version
+ -V, --video VHS Style Video
+ -v, --version show program version
-i INPUT, --input INPUT
-
+ -o OUTPUT, --output OUTPUT
+ Output for specifying output video
```
If the program gives an error for sox, try running `ulimit -n 999'`
@@ -27,9 +28,17 @@ Linking to Bandcamp soon
### V H S I M A G E
-![]("assets/in-vhs.jpg")
+#### Input
+
+![](assets/in-vhs.jpg?raw=true "Input VHS")
+
+#### Output
+
+![](assets/out-vhs.jpg?raw=true "Output VHS")
+
+### V H S V I D E O
-![]("assets/out-vhs.jpg")
+See `in.mp4` and `out.mp4` in the `assets` folder
## Installation
@@ -41,7 +50,7 @@ Windows is unsupported at this time ( I need to find a way to use aubio's python
#### Linux
```
-sudo apt install ffmpeg libavl1 sox
+sudo apt install ffmpeg ffprobe libavl1 sox
pip install -r requirements.txt
```
@@ -72,9 +81,19 @@ python3 main.py -M -i Song Title
`python3 main.py -P -i "image.jpg"`
+### V H S V I D E O
+
+`python3 main.py -V -i "video.mp4" -o "output.mp4"`
+
## Bugs
-This project is a result of bodging and therefore has tons of bugs which need to be ironed out
+This project is a result of bodging and therefore has tons of bugs which need to be ironed out. I need to swat some bugs in the VHSVideo file.
+
+There might be a problem with the generated video not having audio, for that run the following
+
+`ffmpeg -i video.mp4 -vn -acodec copy output-audio.aac`
+`ffmpeg -i output.mp4 -i output-audio.aac -c copy output-with-audio.mp4`
+
## To-Do
@@ -82,7 +101,7 @@ This project is a result of bodging and therefore has tons of bugs which need to
[] Clean the Code
[] Add Artwork Generator
[x] VHS Picture Styler ( Added in v1.5 )
-[] Add Video Generator
+[x] Add Video Generator
[] Add Custom Date to VHS Styler
## Credits