- Spline Video export: https://www.youtube.com/watch?v=OgN8TZElx6M&t=130s
- Export as image sequence.
- Trick: set 15 fps with 0.5x speed then create video with 30 fps.
- Convert to video:
# Remove redundant images from image sequence ls -1 *png # then use bash in vim normal mode to remove all superfluous images # resize mkdir resized && for f in *.png; do ffmpeg -i "$f" -vf scale=150:-1 "resized/$f"; done # mp4 ffmpeg -framerate 30 -pattern_type glob -i '*.png' -crf 20 -preset veryslow -pix_fmt yuv420p -c:v libx264 out.mp4 # webm ffmpeg -framerate 30 -pattern_type glob -i '*.png' -crf 30 -preset veryslow -pix_fmt yuva420p -c:v libvpx-vp9 out.webm
- Change
-crf 30
to increase/decrease quality/size. - https://stackoverflow.com/questions/34974258/convert-pngs-to-webm-video-with-transparency
- Change
- Create cover by converting last frame to webp:
# Lossless convert -format webp -quality 100% 483.png 483.webp # sudo apt-get install imagemagick # Compressed convert -format webp -quality 99% 483.png 483.webp # Changing 99% to 0% doesn't make any difference
Take the last image from the image sequence, i.e. the highest number from
$ ls *png
.
-
-
Save brillout/73624de22e636977b7738e2946c8df9e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment