Initializing... drag & drop files here
Supports: MJPEG
A .mjpeg file is a raw Motion JPEG elementary stream — a run of complete JPEG images end to end, with no container wrapped around them. ASF is Microsoft's Advanced Systems Format, the wrapper behind Windows Media. Converting one to the other is a full re-encode, and the interesting part is not the container: it is that a raw MJPEG stream carries no frame rate, no duration and no timestamps at all, which changes how long your output turns out and makes one control on this page unusable. This tutorial covers all of that, plus which codec to pick depending on what has to play the file.
.mjpeg onto the page or click "+ Add Files". Several streams can be queued and each is converted with the same settings..asf. Files upload over an encrypted connection, are processed on our servers, and are deleted automatically after a few hours — no sign-up, no watermark, never shared or made public.Every normal video file records how fast its frames should play. A raw MJPEG stream records nothing: it is a concatenation of JPEG images with no header, no index and no timing information whatsoever. Probing one returns N/A for duration, N/A for bitrate and N/A for frame count. A decoder therefore has to assume a frame rate, and the assumption is 25 frames per second.
We measured what that costs. We encoded four seconds of footage shot at 10 fps — forty frames — into a raw MJPEG stream, then converted it back to a normal container without touching any settings. The result was a 1.6-second clip at 25 fps: the same forty frames, played two and a half times too fast. Nothing was lost and nothing was corrupted; the frames simply have no timestamps telling anyone how far apart they were meant to be.
Two consequences follow, and neither has a workaround on this page:
If you need a specific section of a raw MJPEG stream, the reliable route is to convert the whole thing first and cut the result, using Video Cutter on the finished file.
| H.264 (the default) | WMV 2 | MJPEG | |
|---|---|---|---|
| Compression efficiency | Best of the three by a wide margin | Middling | Poor — every frame stored whole |
Plays in Windows Media Player from an .asf |
Not dependably; the container permits it but the player may not decode it | Yes, this is what ASF was built for | Rarely |
| Quality control you get | A CRF box running 16 to 51 | A quantiser box running 1 to 31, opening at 5 | Quantiser-based |
| Sensible use | The file is going to a modern player, an editor, or storage | The destination is genuinely a Windows Media pipeline | You need every frame independently decodable |
That third row is worth spelling out, because it changes the page under you. Choosing WMV 1 or WMV 2 re-ranges the quality controls. With H.264 selected, Constant Quality and Constraint Quality show a CRF slider from 16 to 51 where higher means smaller. Switch to WMV and the same two controls become a 1-to-31 quantiser scale opening at 5, where lower means better. The numbers are not comparable between the two, so do not carry a value across.
Microsoft's own documentation notes that an ASF file's "streams can be in any compressed or uncompressed format", which is why H.264 inside ASF is legal — but legality and playback are different questions. If the file has to open in Windows Media Player or feed an old Windows Media server, choose WMV 2. If it just has to play, MJPEG to MP4 will serve you far better than any ASF.
| Property | Value |
|---|---|
| Full name | Advanced Systems Format, originally Advanced Streaming Format |
| Owner | Microsoft — see the ASF format overview |
| Related extensions | .wmv and .wma are the same container, named for the codecs inside |
| Structure | A required Header object and Data object, plus an optional Index object, each identified by a GUID |
| Designed for | Streaming from media servers and local playback of synchronised media |
| Codec restrictions | None in the container itself; compatibility is decided by the player |
| Status today | Legacy — supported by VLC and Windows, but not by browsers |
.mjpeg holds only JPEG images. There is no audio in the source to carry over.Because a raw MJPEG stream contains no timing information, so a fixed 25 frames per second is assumed. We tested it directly: forty frames captured over four real seconds at 10 fps came back as a 1.6-second, 25 fps clip. Every frame is present and undamaged — they are simply being played faster than they were shot. If the true rate matters, the fix has to happen upstream, by recording or exporting to a container that stores a frame rate.
Only from the beginning. The Trim control applies its Start time as a seek into the input file, and the demuxer that reads a raw JPEG stream cannot seek — we ran a one-second start offset and got a 672-byte file with zero frames in it. Leaving Start at zero and setting only a Duration works normally. To take a section out of the middle, convert the whole stream first and then cut the result with Video Cutter.
Because there is no audio to encode. A .mjpeg file is a sequence of JPEG images and nothing else — there is no container around them able to hold a soundtrack. The Audio Codec group renders because it is shared across every video target on the site, but with no audio stream in the input, no audio stream is created in the output. A video-only source produces a video-only ASF rather than one with a track of silence.
It depends entirely on what has to open the file. If you are converting to ASF because a Windows Media server, an old enterprise system or Windows Media Player itself demands .asf, choose WMV 2 — that is the pairing ASF was designed around and the one most likely to just work. If you are converting for storage or for a modern player, the default H.264 gives far better quality per megabyte, but be aware that H.264 inside an ASF wrapper is unusual and some Windows Media software will refuse it.
Because the two codec families use different quality scales and the page follows the codec. On H.264 the Constant Quality and Constraint Quality controls show a CRF value from 16 to 51 where a bigger number means more compression. Selecting WMV 1 or WMV 2 switches them to a quantiser from 1 to 31, opening at 5, where a smaller number means better quality. A value that made sense on one scale is meaningless on the other.
No. The server always re-encodes rather than copying the existing frames across, so your already-lossy JPEG frames are decoded and compressed again by whichever codec you chose. That second generation of loss is unavoidable in any container change of this kind. Keeping Video resolution on Keep original and the quality preset high is how you minimise it. The one codec choice that avoids re-compressing across frames is MJPEG itself, but it still re-encodes each frame.
Motion JPEG stores video as a run of complete, independent JPEG images with no interframe compression at all. A .mjpeg file is that run with no container wrapped around it. They come mostly from IP cameras, surveillance recorders, machine-vision systems, microscopes and scientific capture hardware, where per-frame independence and simple decoding matter more than file size. The trade is efficiency: MJPEG files are several times larger than the equivalent H.264 for the same picture.
No — no browser plays ASF, at any version, and none is likely to start. ASF is a Windows Media container designed for Windows Media Player and Windows Media Services. If your goal is playback on a phone, a browser or a smart TV, convert to MP4 instead with MJPEG to MP4, or to MKV with MJPEG to MKV if you want a modern archive container.
It is uploaded over an encrypted connection, decoded and re-encoded on our servers, and both the upload and the finished .asf are deleted automatically after a few hours. Files are never shared or made public, there is no sign-up and no watermark, and your original .mjpeg is left untouched — the ASF is written as a new file.