From 447b6c6c921f912e5323af2ed18160d63931533f Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Fri, 29 Dec 2023 22:32:28 +0200 Subject: 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 --- stylize.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'stylize.sh') 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) -- cgit v1.2.3