diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | renderer.py | 2 | ||||
-rwxr-xr-x | stylize.sh | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -104,7 +104,7 @@ https://github.com/xAlpharax/neural-art/assets/42233094/216b9e44-b563-42f7-9d66- https://github.com/xAlpharax/neural-art/assets/42233094/c6c4f4d1-f00e-4388-b726-5f6358cb5bc8 -[//]: # (Cute in Jitter Doll a.k.a. how my profile pic was generated) +[//]: # (Cute in Jitter Doll a.k.a. how my profile pic was generated) https://github.com/xAlpharax/neural-art/assets/42233094/981f2855-2524-4c83-87f4-beac6ff5cfa6 diff --git a/renderer.py b/renderer.py index 5975d21..0803430 100644 --- a/renderer.py +++ b/renderer.py @@ -4,7 +4,7 @@ import numpy as np -# will need some added functionality there for *.npy +# TODO: will need some added functionality there for *.npy image_array = np.load("images.npy") ### progress bar @@ -34,4 +34,6 @@ python renderer.py python renderer.py --fix # wrap everything into a video (automatically overrides) -ffmpeg -y -framerate 60 -c:v libx264 -pix_fmt yuv420p -qp 0 -pattern_type glob -i 'Output/neural_art_*.png' -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" $(basename ${2%.*})'_in_'$(basename ${1%.*})'.mp4' +ffmpeg -y -framerate 60 -pattern_type glob -i 'Output/neural_art_*.png' -c:v libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" $(basename ${2%.*})'_in_'$(basename ${1%.*})'.mp4' # H.264 all around +#ffmpeg -y -framerate 60 -pattern_type glob -i 'Output/neural_art_*.png' -c:v libsvtav1 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" $(basename ${2%.*})'_in_'$(basename ${1%.*})'.mp4' # AV1 weirddd +#ffmpeg -y -framerate 60 -pattern_type glob -i 'Output/neural_art_*.png' -c:v libvpx-vp9 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" $(basename ${2%.*})'_in_'$(basename ${1%.*})'.mp4' # VP9 quality |