summaryrefslogtreecommitdiff
path: root/stylize.sh
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-29 22:32:28 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-29 22:32:28 +0200
commit447b6c6c921f912e5323af2ed18160d63931533f (patch)
tree0f6709a0f70e555c91df9dc7e30a8f4763b70ee8 /stylize.sh
parent44bcbe8825cec9245373e7e807a615d4441b6287 (diff)
Great changes to the README, featuring full showcase of video outputs.
Main scripts have seen a couple QOS changes as well Changes to be committed: modified: .gitignore modified: README.md modified: neuralart.py modified: renderer.py modified: stylize.sh
Diffstat (limited to 'stylize.sh')
-rwxr-xr-xstylize.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/stylize.sh b/stylize.sh
index ee30f18..6e377b2 100755
--- a/stylize.sh
+++ b/stylize.sh
@@ -33,7 +33,9 @@ python renderer.py
# fix weird render artifacts
python renderer.py --fix
-# wrap everything into a video (automatically overrides)
-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
+# wrap everything into a video (automatically overrides existing filenames)
+#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
+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
+
+# try -crf 10 (sane for vp9)