Convert JPG to WebM: What This Page Does
This tutorial covers turning a still JPG into a WebM video clip — the format used for autoplaying background video on web pages, for HTML5 <video> embeds and for Telegram's video stickers. You will end up with a short, silent VP9 clip that holds your photo on screen for as long as you tell it to, plus the settings needed to hit a specific frame size or file-size budget.
How to Convert JPG to WebM
- Upload Your JPG File: Drag the photo onto the page or click "+ Add Files". JPG, JPEG and JFIF are accepted, and several images can go in one job.
- Set the Image Duration: This is how long each photo stays on screen and therefore how long the clip runs. The default is 5 seconds per frame, and the list runs from a single 1/60s frame up to 10 seconds.
- Set the Video Codec, Background Color and Video resolution: Video Codec is VP9 unless you switch it to VP8 or AV1. Background Color — white by default for image sources — fills any letterbox bars, and Video resolution keeps the original size or scales to a preset or an exact width × height.
- Convert and Download: Click Convert and download the WebM. No sign-up, no watermark. Files upload over an encrypted connection, are processed on our servers, and are deleted automatically after a few hours.
Walk-through: Duration, Codec and Frame Size
Three settings decide almost everything about a still-to-WebM conversion, and the right values depend entirely on where the clip is going.
- For a background or hero video on a web page: keep the duration short (3–5 seconds), leave the codec on VP9, and set Video resolution to the display size you actually need rather than the photo's full resolution. A 4000-pixel-wide still encoded at full size wastes bandwidth on a 1280-pixel-wide banner.
- For a single-frame WebM — some ad slots and emoji uploaders want exactly one frame — pick a sub-second Image Duration such as "1/30s (single frame at 30fps)".
- For a slideshow from several photos: leave Merge strategy on "Merge images" so everything lands in one file; total length is the per-frame duration times the number of images. "Video per image" gives you a separate WebM per photo instead.
- When the frame size must be exact: use the "Width x Height" option under Video resolution rather than a preset. The preset list is height-based, so the width follows your photo's aspect ratio and you cannot force a square that way.
| Video Codec | What it is | Why you would pick it |
|---|---|---|
| VP9 | The default here — the codec WebM is best known for | Best size-to-quality balance; required by Telegram video stickers |
| VP8 | The original WebM codec (2010) | Maximum reach on very old Android and legacy players |
| AV1 | AOMedia's newer royalty-free codec | Smallest files of the three, but slower to encode and decode |
Bitrate and target-file-size modes are not offered for image-to-video jobs. What you get is Quality Preset (default "Very High (Recommended)"), Constant Quality and Constraint Quality — all three work properly with VP9, VP8 and AV1, because those are CRF-style codecs.
Making a Telegram Video Sticker from a JPG
WebM-from-a-still is a common route to a Telegram video sticker, and Telegram publishes hard limits for those files. Here is what each one means in terms of this page's controls.
| Telegram's published requirement | The limit | What to set here |
|---|---|---|
| Container and codec | .WEBM encoded with VP9 | Leave Video Codec on VP9 |
| Canvas size | One side exactly 512 px, the other 512 px or less | Video resolution → Width x Height, e.g. 512 × 512 |
| Duration | Must not exceed 3 seconds | Image Duration → 3 seconds per frame or shorter |
| Frame rate | Up to 30 FPS | Nothing to set — a still is encoded at a very low frame rate |
| Audio | Must have no audio stream | Nothing to set — image-to-video output has no audio track |
| File size | Must not exceed 256 KB after encoding | Check the downloaded size; drop the Quality Preset if it is over |
Requirements come from Telegram's own WebM/VP9 encoding guide, which also notes that custom emoji must be exactly 100 × 100 pixels. One thing this route cannot give you is transparency: JPEG has no alpha channel, and image-to-video conversion fills empty areas with the Background Color, so the sticker is a solid rectangle.
Common Errors and How to Fix Them
- "The clip is a fraction of a second and won't scrub" — Image Duration was left on a sub-second preset. Pick a whole-second value so players have a real timeline.
- "There are white bars down the sides of my photo" — your photo's aspect ratio does not match the frame size you chose, and Background Color (white by default) is filling the gap. Set Video resolution back to "Keep original", or change Background Color to something that blends in.
- "It won't play on an older iPhone or Mac" — Safari only gained WebM playback in version 16.0 on macOS and 17.4 on iOS. Convert to JPG to MP4 for older Apple hardware.
- "I uploaded ten photos and got ten files" — Merge strategy was on "Video per image". Switch it to "Merge images" for one continuous clip.
- "The file is bigger than the destination allows" — lower the Quality Preset, shorten the duration, or shrink the frame with Video resolution. All three shrink the output; frame size usually does the most.
When This Doesn't Work
A still-to-WebM conversion cannot manufacture motion. There is no pan, zoom or transition, so if you need the photo to move you need an editor with keyframes, not a converter. WebM is also the wrong target if maximum compatibility is the goal — smart TVs, older set-top boxes and pre-2022 Apple devices frequently refuse it, and MP4 with H.264 is the safe choice there. And if what you actually have is a sequence of frames meant to animate, a real frame rate matters more than a per-image hold: an animated GIF or a video exported at 24–30 fps will look right where a slideshow of multi-second stills will not.
Frequently Asked Questions
Does converting a JPG to WebM animate the photo?
No. The output holds one still frame for the duration you choose. It is a video file by structure — a container, a codec and a timeline — but nothing in the picture changes from the first frame to the last. Motion has to be added in an editor.
Which codec does the WebM use, and can I change it?
VP9, unless you change it. We checked this page's own option configuration rather than relying on the container's reputation: VP9 is the codec selected for WebM output here, with VP8 and AV1 offered as the alternatives. VP8 buys you compatibility with very old players; AV1 buys you a smaller file at the cost of encoding time.
How long can the clip be?
Image Duration tops out at 10 seconds per frame for a single photo. Beyond that, upload the image several times with Merge strategy on "Merge images" — five copies at 10 seconds each give you a 50-second clip. The same arithmetic applies to a genuine slideshow: total length is duration × number of images.
Will a WebM made from a JPG play everywhere?
Close to it, with one well-known gap. WebM is supported by about 96.3% of browsers tracked by caniuse, including Chrome, Firefox, Edge and Opera going back many versions, but Safari only plays it from 16.0 on macOS and 17.4 on iOS. If your audience includes older Macs, iPhones or iPads, ship MP4 instead.
Why does the WebM have no audio track?
Because a JPG carries no sound and the page hides the audio controls entirely for image sources — the file is written with no audio stream at all rather than a track of silence. That is exactly what Telegram requires of a video sticker, and it is why the output is smaller than you might expect.
Can I make the output transparent?
No. The JPEG format has no alpha channel to begin with, and image-to-video conversion here fills every transparent or empty area with the Background Color — so even a PNG source would come out opaque. The frame is covered edge to edge, with your photo and with the background fill wherever the aspect ratio leaves a gap. Choosing a Background Color that matches the destination's own background is the practical workaround.
Does the converter change my image before encoding?
Yes, in one specific way: every uploaded image is normalised to PNG and capped at 4096 pixels on its long edge before encoding. That is above 4K width, so it is invisible for any screen use, but it does mean a very large photo will not produce a 6K or 8K WebM.
How do I make the file smaller?
In order of impact: shrink the frame with Video resolution, shorten the Image Duration, then lower the Quality Preset from "Very High (Recommended)". A static frame compresses extremely well after the first keyframe, so most of the file size comes from resolution and length rather than from the picture's complexity.
Is my photo kept after conversion?
No. Your file is uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark, never shared or made public.