Initializing... drag & drop files here
Supports: SWF
DivX is an MPEG-4 Part 2 (Advanced Simple Profile) video codec that became the standard way to fit a feature film onto a CD in the early 2000s, and it is still the format many DivX-certified DVD players, set-top boxes and older car head units expect. This page decodes the video and audio streams embedded in a legacy Adobe/Macromedia Flash (.swf) file and re-encodes them to DivX.
Before you start, it is worth being clear about what a .divx file is and what it is not — and about which Flash files can be converted at all, because SWF is unusually variable on that point.
.divx File From This Page Actually Contains.divx is not a container format of its own. It is an AVI file with a different extension, and that is what this page writes. We checked the output:
| Property | Value |
|---|---|
| Container written | AVI (RIFF), under a .divx filename |
| Video codec | MPEG-4 Part 2 / ASP — the codec family DivX is built on |
| FourCC recorded in the stream header | FMP4 |
| Audio codec preselected | MP3 |
| Other audio codecs offered | AAC, AC3, DTS (DCA), EAC3, FLAC, MP2, PCM A-law, PCM mu-law, PCM 16/24/32-bit Little Endian, Speex, Vorbis, WMA v1, WMA v2 |
| Video Codec dropdown | DivX only — this page has a single target codec |
| Always re-encoded | Yes. Nothing is copied through untouched; the Flash stream is decoded and encoded again |
The FourCC row is the one that matters for hardware. DivX-certified players usually match on DIVX or DX50, and the file written here carries FMP4 instead. Software players — VLC, MPC-HC, mpv, ffmpeg-based apps — do not care and will play it regardless, because they identify the codec from the stream itself. If a standalone player refuses the file, renaming it to .avi is the first thing to try, and re-tagging the FourCC with a desktop tool is the second. For anything you actually intend to watch on a modern device, SWF to MP4 is the better answer.
Stay on the preselected MP3 audio unless you have a reason not to. MP3 and AC3 are the audio codecs AVI was designed around; the others will mux, but they get written with unusual AVI audio tags that legacy hardware often does not recognise.
.swf onto the page or click "Add Files" to browse. Several Flash files can be queued and encoded with the same settings..swf cannot be seeked, so trimming during conversion produces an empty file. Click Convert. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark.DivX is a qscale codec, not a CRF codec, and that changes how the quality controls behave. There is one Flash-specific wrinkle on top: a SWF container declares no overall duration and no video bitrate. We probed a test Flash file and the container reported neither — only the embedded MP3 stream carried a rate of its own. A plain MP4 of the same content reported both.
| Rate control | What it does here | When to use it |
|---|---|---|
| Quality Preset | Scales quality relative to the source's own bitrate | Convenient, but a SWF source declares no video bitrate for it to scale from |
| Specific file size | You name a ceiling in KB or MB; Auto Scale can drop resolution to help hit it | You have a hard size target |
| Constant Bitrate | One fixed bitrate for the whole file | Predictable size, simplest for legacy hardware |
| Variable Bitrate | Target plus a min and max bitrate | Mixed content — quiet vector scenes next to busy ones |
| Constant Quality | Emits an MPEG-4 qscale via a slider labelled CRF, range 1–31 | Fixed visual quality, variable size |
| Constraint Quality | The same qscale plus a Max bitrate ceiling | Fixed quality without letting the peaks run away |
Two things to know about the Constant Quality and Constraint Quality sliders. First, they are labelled CRF but on an MPEG-4 codec the value is an MPEG-4 qscale from 1 to 31, where lower means better quality — the opposite direction from the 0–51 CRF scales used by H.264 and H.265. Second, the slider opens at 5, which sits near the top-quality end of that range and produces correspondingly large files. Move it toward 10–15 for something more balanced.
Given that a SWF declares no source bitrate, the dependable choices on this page are Constraint Quality, Constant Bitrate, or Specific file size — all three set an absolute target rather than a value relative to source metadata the Flash container never carried.
An .swf is a compiled Flash program, not a plain video container. It can hold vector shapes, a timeline, ActionScript bytecode — and, only sometimes, real encoded media streams. This page decodes those encoded streams: Sorenson Spark (FLV1), On2 VP6 and Flash Screen Video for picture, and MP3, Flash ADPCM, Nellymoser or Speex for sound. It does not re-draw the vector timeline and does not execute the script. That produces a clear split:
There is no way around the middle case with a converter. Interactivity, ActionScript logic and vector scalability cannot survive a flat video encode even in principle, and when there is no encoded picture inside the file there is nothing to flatten. Adobe stopped supporting Flash Player on December 31, 2020 and blocked Flash content from running on January 12, 2021, so playing such a file back to record it needs an emulator — the open-source Ruffle project runs many legacy SWFs.
.divx a real file format, or just a renamed AVI?Functionally the latter. DivX is a codec, not a container; DivX video has essentially always shipped inside AVI. The file this page produces is an AVI stream structure carrying MPEG-4 Part 2 video, given a .divx extension. If a player rejects it, renaming the file to .avi is the single most effective fix, because many applications route on extension before they look at the bytes.
Most likely the FourCC. The output records FMP4 in the AVI stream header rather than the DIVX or DX50 tag that certified hardware profiles usually look for. The video data is standard MPEG-4 ASP either way, so software players handle it without complaint, but a set-top box matching on FourCC may not. Renaming to .avi sometimes helps; re-tagging the FourCC with a desktop tool is the reliable fix.
Because it contains no encoded video stream. Vector-only SWFs — banner ads, logo animations, menus and most Flash games — store shapes, tweens and ActionScript rather than compressed frames, and there is nothing for a video encoder to consume. Only Flash files that wrap Sorenson Spark, On2 VP6 or Flash Screen Video have picture data inside to re-encode.
No, and not for a fixable reason. Video is a linear sequence of frames with no capacity to carry branching logic, input handling or state. Even for games that do embed video, you would get a passive recording of that video and nothing else. To keep a Flash game playable, run the original .swf in an emulator such as Ruffle rather than converting it.
Yes, when the SWF actually contains an audio stream. Flash-embedded MP3, ADPCM, Nellymoser and Speex are decoded and re-encoded to the audio codec you select — MP3 by default. Sound that a Flash movie streamed from an external file or URL at runtime is not inside the .swf and cannot be included.
Only for legacy DivX-certified hardware — older standalone DVD players, home-theatre boxes and car head units that list DivX/AVI playback. For everything else MP4 with H.264 is smaller at the same quality and plays natively on phones, browsers and smart TVs, which is why SWF to MP4 is the usual choice. There is no quality reason to choose DivX.
Leave Video resolution on "Keep original" unless there is a reason not to. Flash video was typically encoded small — 320×240 and 640×480 were common — and upscaling adds file size without adding detail. If you do need to change it, the Preset Resolutions set the output height and let the width follow the source aspect ratio; use Width × Height when you need exact dimensions.
Not with the Trim control on this page. Trimming is applied by seeking into the source before decoding, and the SWF reader has no seek support, so the job logs "could not seek", encodes nothing, and still writes an output — we measured a two-second trim that produced a 9,928-byte .divx with no frames and no duration. Convert the whole file first, then feed the finished .divx — not the original .swf — to the Video Cutter, which can seek an AVI-structured file normally.
Always re-encoded. The Flash stream is decoded to frames and encoded again as MPEG-4, so the output is one generation removed from the source no matter which settings you choose. That is why it is worth setting a rate control deliberately — Constraint Quality or an explicit bitrate — instead of leaving the encode to guess. Other targets for the same source are listed on the SWF converter hub.