FLV to GIF Converter

Generate the exact FFmpeg command to convert an FLV file to an animated GIF with your chosen frame rate, width, and duration settings.

FFmpeg Command Builder

15
5 fps (small)30 fps (smooth)

Generated FFmpeg Command

ffmpeg -i input.flv -vf "fps=15,scale=320:-1:flags=lanczos" -loop 0 output.gif

What each parameter does

-i

Specifies the input file. Always placed immediately before the input filename.

-ss

Seek to a start position before processing. Placed before -i for fast keyframe seek.

-t

Limits output to this many seconds. Omit to convert the entire remaining video.

fps=N

Sets output frame rate inside the -vf filter chain. Lower values (10–15) produce much smaller files.

scale=W:-1

Resizes to the specified width; -1 keeps the original aspect ratio for height.

lanczos

High-quality resampling algorithm used during scaling, producing sharper GIF frames.

-loop 0

Makes the GIF loop infinitely. Use -loop 1 for a single play-through.

How to run this command

  1. 1

    Install FFmpeg

    Download from ffmpeg.org and add it to your system PATH, or use a package manager: brew install ffmpeg / choco install ffmpeg

  2. 2

    Open a terminal

    Windows: Command Prompt or PowerShell. macOS/Linux: Terminal.

  3. 3

    Navigate to your file folder

    Use cd path/to/folder so FFmpeg can find the input file by name.

  4. 4

    Paste and run the command

    Copy the command above, paste it in the terminal, and press Enter. Conversion progress appears in real time.

Estimated GIF file sizes

Width FPS 5 sec 10 sec
160 px 10 ~0.5 MB ~1 MB
320 px 15 ~2 MB ~4 MB
480 px 15 ~4 MB ~8 MB
640 px 24 ~10 MB ~20 MB

Sizes vary with video content complexity. High-motion video produces larger GIFs.

Online alternatives

If installing FFmpeg is not an option, online services such as Ezgif, Convertio, or CloudConvert can convert FLV to GIF directly in a browser by uploading your file to their servers. Be aware of upload size limits and privacy considerations before using cloud-based converters.

Copied!

Summary

Generate the exact FFmpeg command to convert an FLV file to an animated GIF with your chosen frame rate, width, and duration settings.

How it works

  1. Enter the name of your FLV input file (e.g. clip.flv).
  2. Set the output GIF filename.
  3. Optionally specify a start time (e.g. 00:00:05) to skip into the video.
  4. Optionally set a duration (e.g. 10) to limit how many seconds are converted.
  5. Choose output width in pixels (height is calculated automatically to keep aspect ratio).
  6. Set the frame rate — lower FPS means smaller file size.
  7. Click "Generate Command" to get the ready-to-run FFmpeg command.
  8. Copy the command, open your terminal, and run it in the folder containing your FLV file.

Use cases

  • Convert a short FLV screen recording to a GIF for documentation or tutorials.
  • Extract an animated reaction clip from an old Flash-era video.
  • Create a looping GIF preview from an FLV marketing or demo video.
  • Share a highlight moment from an FLV gameplay or stream recording.
  • Generate lightweight animated previews from FLV files for web pages.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu