MPEG to SWF Converter

Convert MPEG files to SWF format online. Free, fast, no watermarks.

Initializing... drag & drop files here

Supports: MPG, MPEG

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
File Compression
Preset
Video resolution
Trim

Converting MPEG to SWF: What This Tutorial Covers

This is a deliberately narrow job. Adobe Flash Player reached end of life on December 31, 2020 and Adobe began blocking Flash content on January 12, 2021, so a .swf is an archival or authoring target now, not a delivery format. The reasons left to make one are real but specific: feeding Adobe Animate's video import, rebuilding a legacy e-learning package, or preserving a clip in the container a Flash-era project expects. This tutorial covers the two settings that decide whether the file works downstream, the audio constraint you cannot change, and how to actually play the result.

How to Convert MPEG to SWF

  1. Upload Your MPEG File: Drag and drop your .mpeg or .mpg onto the page, or click "Add Files" to browse. Several clips can be queued and converted with the same settings.
  2. Confirm the Video Codec: FLV — Sorenson Spark, the H.263-derived codec Flash Player decoded — is the preselected choice, with MJPEG as the only alternative. Audio Codec offers MP3 and nothing else, because the SWF muxer accepts no other audio stream.
  3. Set File Compression, Video resolution, or Trim: Quality Preset is preselected on "Very High (Recommended)"; Specific file size, Constant Bitrate, Constant Quality and Constraint Quality are the other modes. Video resolution starts on "Keep original", and Trim takes a Start time and Duration if you only need a section.
  4. Convert and Download: Click Convert and download the .swf. 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.

Walk-through: Codec, Rate Control, and the Audio You Do Not Control

The MPEG is fully decoded and re-encoded into the Flash container. There is no stream-copy path here, so every choice below changes the actual pixels.

  • Leave the codec on FLV unless something demands otherwise. Sorenson Spark is what Flash Player itself decoded and what Animate's video import expects. It descends from H.263, which matters for playback (see below) and for efficiency: it is roughly a generation behind H.264, so it needs noticeably more bits for the same picture.
  • Switch to MJPEG only for intra-only frames. Every frame is encoded independently, which a handful of old authoring tools require for frame-accurate scrubbing. The file grows substantially because inter-frame prediction is thrown away.
  • Prefer Quality Preset or Constraint Quality over Constant Quality. On FLV the numeric quality field is a qscale running 1 to 31 where lower is better, but our pipeline seeds that field at 23 — a value borrowed from the 16-51 CRF scale that H.264 uses. Left untouched, Constant Quality therefore lands near the bottom of the FLV quality range. Either type a low number yourself (2 to 6 is a sensible band) or stay on the preset.
  • Use Video resolution as the size lever. Flash-era video rarely exceeded 480p, and because Sorenson Spark is inefficient, dropping to 480p or 360p does far more for file size than nudging quality. Note that Preset Resolutions set the height and let width follow the source aspect.
  • Trim before you encode, not after. Setting a Start time and Duration under Trim avoids encoding footage you are going to discard.

One setting is simply absent: sample rate. The SWF path here accepts only 44,100 Hz, 22,050 Hz and 11,025 Hz, and the pipeline pins the output at 44,100 Hz with no control surfaced. Whatever your MPEG's MP2 soundtrack was recorded at, the SWF gets 44.1 kHz MP3.

FLV (Sorenson Spark) versus MJPEG in a SWF

FLV (Sorenson Spark) MJPEG
Frame types Keyframes plus predicted frames Every frame independent
Underlying design H.263 derivative, early 2000s Sequence of JPEG images
Typical file size Much smaller for the same picture Substantially larger
Flash Player compatibility The native path Flash decoded Supported but far less common
Ruffle playback Covered by Ruffle's H.263 decoder Not part of Ruffle's video decoders
Pick it when Almost always A tool explicitly demands intra-only frames

Playing the SWF You Just Made

No current browser runs Flash content, so plan the playback route before you convert.

Playback route Status in 2026 Notes
Chrome, Firefox, Edge, Safari Not possible The plugin was removed after Adobe's January 12, 2021 block
Ruffle Works for most content Open-source Flash emulator; its software video backend ships H.263, VP6 and Screen Video decoders, so Sorenson-flavour streams are covered
Standalone Flash Projector Works offline A preserved binary; nothing checks in with Adobe
Adobe Animate Imports as source The usual reason to produce a .swf from video at all
Phones and tablets Not possible Flash was never on iOS and its Android player was retired in 2012

Common Errors and How to Fix Them

  • "The SWF will not open in my browser." Expected, and not a fault in the file. Use Ruffle or a standalone projector, or convert to MPEG to MP4 if what you actually need is something people can watch.
  • "The picture is soft or blocky compared with the source." Sorenson Spark is the ceiling. Raising the preset helps a little; dropping the resolution helps more, because the codec has fewer pixels to spend its limited efficiency on.
  • "Constant Quality made it look worse than the default." That is the 1-31 qscale trap described above. Enter a low value or return to Quality Preset.
  • "The file is enormous." You either kept the source resolution or chose MJPEG. Go back to FLV and set a Preset Resolution of 480p or 360p.
  • "My 16:9 recording came out stretched." Resizing normalises the pixel aspect ratio to square, which distorts anamorphic DVD-era material. Use Width x Height with the display dimensions — about 854 x 480 for 16:9 NTSC, 1024 x 576 for 16:9 PAL — instead of a percentage or preset.
  • "Moving objects have comb-like horizontal lines." The source is interlaced and nothing in this pipeline deinterlaces it, so the combing is carried into the SWF. Deinterlace in a desktop editor first if it matters.

When This Doesn't Work

If your goal is playback rather than preservation, stop and pick a live format: MPEG to MP4 for near-universal compatibility, or MPEG to WebM for a royalty-free web codec. If you are trying to rescue video out of an existing Flash file, that is the opposite conversion and belongs on SWF to MP4. And if the .swf you need is an interactive Flash application rather than a video — a game, a banner, an ActionScript timeline — no video converter can build that; SWF as a program is a different artefact from SWF as a video wrapper, and only an authoring tool such as Adobe Animate produces it.

Frequently Asked Questions

Will the SWF I create play in a modern browser?

No, and that is a property of the format rather than of this converter. Adobe set Flash Player's end of life at December 31, 2020 and began blocking Flash content from running on January 12, 2021; Chrome, Firefox, Edge and Safari removed the plugin around the same period. To watch a .swf today you need the Ruffle emulator or a preserved standalone Flash Projector. If browser playback is the goal, convert to MP4 instead.

FLV or MJPEG — which codec should I choose?

FLV (Sorenson Spark) for nearly every case: it is the codec Flash Player natively decoded, it produces far smaller files, and it is the one Ruffle can handle through its H.263 decoder. Choose MJPEG only when a specific downstream tool requires every frame to be independently encoded, and expect the file to grow considerably.

Why is MP3 the only audio option, and why is my audio resampled?

The SWF muxer in this pipeline accepts MP3 and nothing else, so the Audio Codec list has a single entry. Separately, only three sample rates are usable on this path — 44,100 Hz, 22,050 Hz and 11,025 Hz — and the conversion pins the output at 44,100 Hz with no control surfaced. An MPEG program stream normally carries MP2 audio at 48 kHz, so expect a resample as well as a re-encode.

Why did Constant Quality make the output look worse than the default preset?

Because the numeric field means the opposite of what most people assume on this codec. FLV uses a qscale from 1 to 31 where lower numbers mean better quality, while H.264's familiar CRF runs 0 to 51 on the same "lower is better" logic but a completely different range. Our pipeline seeds the field at 23, which is a mid-range CRF but a near-worst-case qscale. Type a value around 2 to 6, or leave File Compression on Quality Preset.

Does Ruffle actually play the video inside the SWF?

The codec side is covered: Ruffle's software video backend includes H.263, VP6 and Screen Video decoders, and Sorenson Spark is an H.263 variant. Embedded video is still one of the less-exercised corners of any Flash emulator, so test the specific file you produce rather than assuming, and keep the original MPEG as a fallback.

Is this a re-encode or just a re-wrap of my MPEG?

A full re-encode. MPEG-1 and MPEG-2 video cannot live inside a SWF, so the frames are decoded and re-compressed as FLV or MJPEG, and the MP2 audio is decoded and re-encoded as MP3. Nothing is copied through untouched, which is why the codec and resolution choices matter more here than on a container-to-container conversion.

Can I keep a SWF small without wrecking the picture?

Resolution first, duration second. Sorenson Spark spends a lot of bits per pixel, so 480p or 360p buys more than any quality setting will. Then use Trim to encode only the section you need — or cut the source beforehand with the Video Cutter if you want to preview the in and out points.

How large a file can I convert, and how are my files handled?

Because the work happens on our servers rather than on your machine, the practical constraint is upload size and connection speed rather than a fixed local ceiling. Files travel over an encrypted connection, are converted server-side, and both the upload and the result are deleted automatically after a few hours. There is no sign-up, no watermark, and nothing is shared or made public.

Rate MPEG to SWF Converter Tool

Rating: 4.8 / 5 - 92 reviews