Skip to content
UniKit

Video to GIF plan

Build the two-step palettegen GIF plan from frame rate, size, and duration.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Video filename

Plan

ffmpeg arguments

Enter a video to plan

Stat: 0 · Stat 2: 0

What this tool does

  • Check parameters before transcoding
  • Convert time into samples or filters

Example

Input

clip.mp4

Output

视频转 GIF 规划
ffmpeg -i clip.mp4 -vf "fps=12,scale=640:360:flags=lanczos,palettegen" palette.png && ffmpeg -i clip.mp4 -i palette.png -lavfi "fps=12,scale=640:360:flags=lanczos[x];[x][1:v]paletteuse" output.gif
调色板提升颜色质量;fps 和尺寸越大体积越大

Computes an assertable plan or sample range. It does not touch devices or transcode files.

Frequently asked questions

Does it process the file?

No. It returns a plan, command, or sample range and never decodes media.

May numbers be strings?

Yes. Numeric strings from text controls are parsed as numbers.

Does it match ffmpeg exactly?

Times, filters, and bitrate formulas are deterministic; container overhead can still differ.

Keywords:GIF调色板fpspalettegenvideo

Related tools