Convert AVI to PNG
Turn AVI videos into PNG. The first frame, or the one frame_at seconds in, as one PNG at the video's own size.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop AVI files on the dialor turn it to pick what to do
One frame from your video as a PNG.The first frame, or one from a moment you pick, at the video's own size.
What you get
One PNG made from a single frame of the AVI. By default it is the first frame. The picture has the same width and height as the video.
Many videos open on black. If you want a frame with something in it, pick a moment instead of taking the first one.
Choosing the frame
Set Frame at (s) to the second of the video the picture is taken from. It accepts values from 0 to 86400. When you leave it out, the first frame is used.
Changing the size
Set Width (px) or Height (px) for an exact size. If you give only one, the other follows the aspect ratio. If you give both, the picture can be stretched.
Set Max width (px) or Max height (px) to shrink a frame that is larger than the limit. The shape is kept, and a frame that is already smaller stays as it is, so nothing is enlarged.
To change the size of a PNG you already have, use resize PNG.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted. No PNG is made in that case.
AVI and PNG.What each format is, and the options this conversion takes.
- 01 · frame_at
Frame at (s)
The second of the video the picture is taken from. The first frame is used when it is left out.
0 to 86400 - 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000 - 03 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 05 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
The formats
AVI Video
Microsoft's original video container. Old, large and still around.
- Extensions
- .avi .divx .xvid
- MIME type
- video
/x -msvideo - Kind
- Video
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same AVI to PNG conversion through the API, for your app or your agent.
$ cv convert clip.avi clip.png$ cv convert clip.avi clip.pngQuestions.What people ask about AVI to PNG.
Yes. Set Frame at (s) to the second you want. Without it, the first frame is used.
Many videos open on black, and the first frame is used by default. Set Frame at (s) to a later moment.
Yes, unless you set a size option. Then Width (px), Height (px), Max width (px) or Max height (px) change it.
No. The result is one file with one frame.