diff --git a/generate.sh b/generate.sh index fa33e63..f7286db 100755 --- a/generate.sh +++ b/generate.sh @@ -1,6 +1,10 @@ +# 4*0.875 = 3.5 pixel aspect ratio +# 320x180 -> 80x157.5 +# instead scale to 82x160 and crop to 80x160 :D +# note: letterboxing makes it harder to reuse those blocks ffmpeg \ -i 'https://upload.wikimedia.org/wikipedia/commons/a/ab/Caminandes_3_-_Llamigos_-_Blender_Animated_Short.webm' \ - -vf 'format=yuv444p,scale=80:150,pad=h=160:y=5,setsar=1' \ + -vf 'format=yuv444p,scale=82:160,crop=w=80:x=1,setsar=1' \ -an \ -vcodec libvpx-vp9 \ -row-mt 1 \ diff --git a/index.html b/index.html index 59a5515..f394ec7 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@