summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-08 20:18:17 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-12-08 20:18:17 +0200
commitf84f667542ed2966191221c25902737ca4cb197e (patch)
tree83063128d3ed21599144e124f90945e858c604e9
parent071ee6bd004a4c17a444c5bdd48d7a28b0aff108 (diff)
Changes to the ffmpeg call
Changes to be committed: modified: stylize.sh
-rwxr-xr-xstylize.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stylize.sh b/stylize.sh
index b83517b..ee39b47 100755
--- a/stylize.sh
+++ b/stylize.sh
@@ -34,4 +34,4 @@ python renderer.py
python renderer.py --fix
# wrap everything into a video (automatically overrides)
-ffmpeg -y -framerate 60 -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 -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'