+-------------------------------+
+ HTML autoplay video loop test +
+-------------------------------+
Do you see the fireworks video loop on the top of this page?
MORE INFO
=========
This page is a test about HTML video loop (mp4) to study if I can replace
GIF panels in Pepper&Carrot with this technology.
WHY VIDEO INSTEAD OF GIF?
=========================
- hardware accelerated playback
- 10% fileweight (load faster)
- No dithering, higher color palette
... In short, a way to add more EPIC PANELS!
HOW:
====
Ctrl+U to open source code and see the markup.
FFMPEG COMPRESSION
==================
# Note: after output frame from Krita:
# - input: %04d = four digits
# - r = frame rate
# - crf = quality, 22 higher, 18 lower
# - pixfmtyuv thing = something firefox need
# - an = no audio.
ffmpeg -y -i krita-frames/frame%04d.png -r 30 -c:v libx264 -preset veryslow -crf 20 -pix_fmt yuv420p -an output.mp4