summaryrefslogtreecommitdiff
path: root/stylize.sh
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-08 23:16:44 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-08 23:16:44 +0200
commit44bcbe8825cec9245373e7e807a615d4441b6287 (patch)
tree537c32924c38518e28fc9abb991b4a7f48687cf0 /stylize.sh
parentf84f667542ed2966191221c25902737ca4cb197e (diff)
Better stylize script and small changes in rendering
Changes to be committed: modified: README.md modified: renderer.py modified: stylize.sh
Diffstat (limited to 'stylize.sh')
-rwxr-xr-xstylize.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/stylize.sh b/stylize.sh
index ee39b47..ee30f18 100755
--- a/stylize.sh
+++ b/stylize.sh
@@ -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