Skip to content

andreaxhearts/game-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Extract Frames

You can extract frames from an animated webp file with this command:

magick input.webp -coalesce -define webp:lossless=true ./frames/frame-%03d.webp

Create Animation

ffmpeg can be used to create webp animations. Example:

ffmpeg -i frame-%03d.webp -c:v libwebp_anim -lossless 1 -framerate 29.970 anim.webp

-start_number 1 can be used to change the starting frame. This option goes before the -iinput.