DelayNoMore/charts
2022-12-17 18:15:29 +08:00
..
AttackTriggerCases.jpg Updated TouchEventsManager to support input from Keyboard as well as an additional atk btn. 2022-11-20 20:13:08 +08:00
AvoidingFloatingPointAccumulationErr.jpg Updated README. 2022-11-13 14:13:19 +08:00
DelayNoMore.drawio Updated charts. 2022-11-20 12:27:29 +08:00
InputDelayIntro.jpg Updated README. 2022-11-02 10:57:37 +08:00
jump_sync_spedup.gif Updated README. 2022-12-15 15:40:08 +08:00
README.md Updated anim of the second character. 2022-12-17 18:15:29 +08:00
RollbackAndChase.jpg Fixed typos. 2022-11-03 10:06:21 +08:00
screenshot-2.png Updated README. 2022-11-02 10:57:37 +08:00

Double playback speed of a video

ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" output.mp4

GIF creation cmd reference

ffmpeg -ss 12 -t 13 -i input.mp4 -vf "fps=10,scale=480:-1" -loop 0 output.gif

Extract GIF (with alpha channel, e.g. exported from Fighter Factory Studio) to PNG sequence

ffmpeg -vsync vfr -i input.gif output%d.png

The -vsync vfr tells ffmpeg to disrespect the original delays set within the GIF file, otherwise many duplicate frame will be extracted by the default 60FPS.