Initializing... drag & drop files here
Supports: BMP
A .bmp is one still picture with no timeline and no audio, and a .mpg is a video container that expects both. The conversion bridges that gap by holding your bitmap on screen for a fixed number of seconds and encoding those held frames as MPEG video. This walk-through covers picking the hold duration, controlling the frame size, dealing with the letterbox bars that appear when your bitmap is not 16:9, and the cases where an MPG is the wrong target entirely.
.bmp onto the page or click "+ Add Files" to browse. Queue several bitmaps at once and use Merge strategy to pick Merge images (one clip containing every still, in order) or Video per image (a separate .mpg per file)..mpg. Files are 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.Duration is the only setting on this page that has no equivalent in the source file, so it is the one worth thinking about. Because a bitmap contains exactly one image, the encoder loops that image for the length you pick and writes at one frame per second unless you ask for something else. The result is a video whose runtime you chose, not one the file dictated.
| What you are making | Duration setting | Runtime from one bitmap |
|---|---|---|
| Single freeze frame at 24 fps | 1/24s (single frame at 24fps) | About 0.04 seconds |
| Single freeze frame at 30 fps | 1/30s (single frame at 30fps) | About 0.03 seconds |
| Short looping placeholder | 1 second per frame | 1 second |
| Title or spacer card (default) | 5 seconds per frame | 5 seconds |
| Signage slide | 10 seconds per frame | 10 seconds |
<video> format. No mainstream browser plays .mpg inline. Use BMP to MP4 when the clip is destined for a website, a phone, or a social upload.MPG is a deliberately old target. Choose it when a DVD or VCD authoring tool, a legacy set-top box, a broadcast ingest system, or a piece of signage hardware specifically asks for MPEG video and refuses a raw image. If you actually want a small, portable still, converting to video is the wrong move — BMP to PNG or BMP to JPG will be a fraction of the size and open anywhere. And if a downstream tool rejects the .mpg for being MPEG-2 rather than H.264, convert to an H.264 target instead; MPEG-2 cannot be re-labelled into an MP4 by renaming, because the video has to be re-encoded.
| Target | Video codec | Container | Plays inline in browsers | Typical reason to choose it |
|---|---|---|---|---|
| MPG (this page) | MPEG-2 | MPEG program stream | No | DVD/VCD authoring, legacy set-top and signage hardware |
| MP4 | H.264 | ISO base media | Yes | Web pages, phones, social uploads, general sharing |
| MTS | H.264 | MPEG-2 transport stream | No | Dropping a still into an AVCHD camcorder timeline |
| AVI | MPEG-4 Part 2 | RIFF AVI | No | Older Windows editing and capture tools |
| MKV | H.264 | Matroska | No | Local playback in VLC or mpv, flexible muxing |
Because there is nothing to encode. A BMP file is a header, an optional colour table, and a pixel array — the format has no audio stream and no way to carry one, so the converter writes a video-only file. In our testing, a 1920 x 1080 bitmap converted with the defaults produced a file that ffprobe reports as a single stream, codec_type=video, with a duration of exactly 5.000000 seconds and no audio stream at all. To add music or narration, run the conversion here and then bring the silent clip into an editor such as Shotcut, Kdenlive, or DaVinci Resolve.
MPEG-2 video, standardised jointly by ITU-T and ISO/IEC as ITU-T H.262, "Generic coding of moving pictures and associated audio information: Video", whose first edition was approved in July 1995. It is wrapped in an MPEG program stream, which is what the .mpg extension conventionally means. The Video Codec control also offers MPEG-1 if you are feeding something genuinely ancient, such as a VCD authoring chain.
If you choose Merge images, the runtime is simply the number of images multiplied by the per-frame Duration: ten stills at the default 5 seconds each give a 50-second clip, and ten stills at "1/24s" give a clip a little under half a second long. If you choose Video per image you get ten separate .mpg files, each as long as the Duration you picked.
No. This is a format conversion, not an animation tool: the same pixels are held for the duration you set, so the picture never moves. A Ken Burns-style pan or zoom is generated by a video editor that re-samples the image over time, which is a different operation. Convert here first, then apply the move in an editor.
No, it is padded rather than distorted. When the source aspect ratio does not match the frame you selected, the encoder centres the image and fills the leftover area with the Background Color (White by default, with Black and around two dozen other swatches available). If you would rather have no bars at all, set Video resolution to Keep original and the output frame will match your bitmap's own dimensions.
Usually, yes, and often dramatically so — but for an unhelpful reason. An uncompressed 24-bit bitmap stores three bytes per pixel with each row padded out to a 4-byte boundary, which is why a 1920 x 1080 example on our test bench measures 6,220,854 bytes. MPEG-2 is lossy, so it discards high-frequency detail to hit its bitrate. You are trading picture fidelity for size, not compressing losslessly. If size is the actual goal and you want to keep the image sharp, BMP to PNG or BMP to WebP is the right tool.
Not reliably. MPEG-2 in a program stream is not one of the formats HTML5 <video> is expected to support, and mobile operating systems generally will not open a bare .mpg without a third-party player. Desktop VLC and mpv handle it fine, and so do DVD players and broadcast decoders. For anything that has to play on a phone or in a web page, use BMP to MP4.
Yes, but you will not get your bitmap back. Extracting a frame gives you the decoded MPEG-2 picture, which has already been through lossy compression, so fine detail and sharp edges will not match the original pixel values. Keep the source .bmp — or a lossless copy made with BMP to PNG — if you may need the exact pixels again.
MPEG-2 encodes in a chroma-subsampled YUV colour space, so an indexed 8-bit bitmap is expanded and a 32-bit one is reduced to what the codec can represent. Any alpha channel described by a BITMAPV4HEADER or BITMAPV5HEADER is discarded, because video formats have no transparency: the transparent area is filled with the Background Color instead. If transparency matters, keep the image as an image — BMP to PNG preserves an alpha channel.