Version 2.0

This commit is contained in:
Navan Chauhan 2020-03-10 23:48:06 +05:30
parent 862b0783d7
commit c79a3bbf05
2 changed files with 9 additions and 8 deletions

View File

@ -3,18 +3,19 @@
A 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.) A 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 | V A P O R W A V E || G E N E R A T O R |
vaporwave
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-M, --music generate v a p o r w a v e music -M, --music generate v a p o r w a v e music
-P, --picture generate VHS Style image -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 -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'` If the program gives an error for sox, try running `ulimit -n 999'`
@ -37,7 +38,7 @@ Linking to Bandcamp soon
### V H S V I D E O ### V H S V I D E O
See the in.mp4 and out.mp4 in the assets folder See `in.mp4` and `out.mp4` in the `assets` folder
## Installation ## Installation
@ -91,7 +92,7 @@ This project is a result of bodging and therefore has tons of bugs which need to
There might be a problem with the generated video not having audio, for that run the following 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 video.mp4 -vn -acodec copy output-audio.aac`
`ffmpeg -i output.mp4 -i output-audio.aac -c copy output-with-audio.mp4' `ffmpeg -i output.mp4 -i output-audio.aac -c copy output-with-audio.mp4`
## To-Do ## To-Do

View File

@ -16,7 +16,7 @@ import time
version = 2.0 version = 2.0
style = False style = False
text = 'This program takes YouTube URL or title of a song and converts it into vaporwave' text = '| V A P O R W A V E || G E N E R A T O R |'
parser = argparse.ArgumentParser(description = text) parser = argparse.ArgumentParser(description = text)
parser.add_argument("-M", "--music", help="generate v a p o r w a v e music", action="store_true") parser.add_argument("-M", "--music", help="generate v a p o r w a v e music", action="store_true")