MP4 to SWF Converter
Turn an MP4 into a legacy Flash SWF file for archives and old projects.
or drop files here
MP4 Format
MPEG-4 Part 14
A container defined in ISO/IEC 14496-14. It commonly holds H.264 video with AAC audio.
- Container for video and audio
- Plays in every major browser
- .mp4, .m4v and .m4a extensions
- video/mp4
SWF Format
Shockwave Flash
A legacy multimedia format associated with Macromedia and Adobe Flash. It can combine vector graphics, animation and bitmap video.
- Also called Small Web Format
- ActionScript interactivity
- Can embed video and audio
- Legacy format
How to convert MP4 to SWF
Follow these steps to convert MP4 to SWF online.
Choose your MP4 file, or several at once.
Wait while the converter turns each file into SWF.
Download each new SWF file. Your original file isn't changed.
Related Tools
SWF to MP4
Convert SWF files to MP4 format
MP4 to 3GP
Convert MP4 video files to 3GP format
MP4 to AMR
Extract AMR audio from MP4 video files
MP4 to AU
Convert MP4 files to AU format
MP4 to AV1
Convert MP4 video files to AV1 format
MP4 to CAF
Convert MP4 files to CAF format
MP4 to CDDA
Extract CDDA audio from MP4 video files
MP4 to DivX
Convert MP4 video files to DivX format
MP4 to FLAC
Extract FLAC audio from MP4 video files
MP4 to GIF
Convert MP4 video to animated GIF
MP4 to M4A
Extract M4A audio from MP4 video files
MP4 to MKV
Convert MP4 video files to MKV format
MP4 to MP3
Extract MP3 audio from MP4 video files
MP4 to MPEG
Convert MP4 video files to MPEG format
MP4 to MPG
Convert MP4 video files to MPG format
MP4 to Opus
Extract Opus audio from MP4 video files
MP4 to TS
Convert MP4 video files to TS format
MP4 to VOB
Convert MP4 video files to VOB format
MP4 to WAV
Extract WAV audio from MP4 video files
MP4 to WebM
Convert MP4 video files to WebM format
Video to GIF
Convert video files to GIF format
YouTube Transcript Generator
Generate transcripts from YouTube videos
FLV to SWF
Convert FLV files to SWF format
GIF to SWF
Convert GIF files to SWF format
What to know before converting MP4 to SWF
- SWF is a legacy format, so treat the result as an archive or compatibility copy.
- The video is Sorenson Spark (FLV1) with MP3 sound, the defaults FFmpeg uses for SWF.
- Video above 1920 pixels on a side is scaled down, and the frame rate is capped at 30 fps.
- Several MP4 files convert in turn, one SWF each.
About MP4 files
What is an MP4 file?
ISO/IEC 14496-14, also called MPEG-4 Part 14, defines MP4 and dates from 2003. Apple's QuickTime is the distant ancestor, and the content is arranged as boxes inside boxes, a layout that passed through the ISO Base Media File Format.
An MP4 wraps streams and is not a compression method itself. H.264 video with AAC sound is the everyday payload, yet AV1, VP9, MP3 and Opus can be carried too. The extensions are .mp4 or .m4v for video and frequently .m4a when only sound is inside, while the registered media types are video/mp4 and audio/mp4.
Major browsers all play MP4, and Android has handled HEVC video in it since version 5.0. Keep your MP4 as the master copy, because the page writes a new file and leaves the original alone.
Programs that open MP4 files
Windows, Mac and Linux:
- ffplay plays MP4, since the demuxer is included.
- The mpv player runs on the desktop and can switch between audio streams.
Windows and Mac:
- Adobe Premiere brings in MP4 only when a matching decoder is available.
Web:
- Firefox plays MP4 inside a web page, and for AAC and H.264 it may lean on codecs the operating system provides.
- Chrome opens the combinations it supports, so the streams inside the file still decide.
Mobile:
- Android owners can install VLC for Android, a free player.
- Local and network media open in VLC for iOS.
MP4 and SWF compared
- Origin: SWF is tied to Macromedia and Adobe Flash and counts as a legacy multimedia format. Adobe acquired Macromedia in 2005.
- Name: SWF is also known as Small Web Format, and application/vnd.adobe.flash.movie is among its registered media types.
- Contents: SWF can combine vector graphics, animation and bitmap video, while an MP4 simply carries streams.
- Interactivity: interactive SWF content uses ActionScript as well as a timeline. A converted video cannot retain those interactions as executable controls.
- Playback: after its end-of-life block, Flash Player from Adobe stopped running Flash content. Ruffle emulates Flash in a browser through WebAssembly and has downloads for Windows, Mac and Linux. Lightspark is an incomplete Flash implementation for Windows and Linux.
- External media: an SWF may refer to media outside itself instead of holding every resource.
- Today: MP4 suits sharing, and SWF suits an old project that insists on it.
FFmpeg decodes the MP4 in your browser tab and writes a new SWF. Frames marked interlaced pass through a deinterlacer, a side longer than 1920 pixels is scaled down, odd dimensions are rounded to even numbers and the rate is capped at 30 frames per second. No codec is named in the command, so FFmpeg's defaults for SWF apply: Sorenson Spark (FLV1) video at FFmpeg's default of 200 kbit/s, and MP3 sound. FFmpeg's documentation says the SWF muxer accepts one audio stream, one video stream, or both.
Test the file in Ruffle before you depend on it, because Ruffle does not implement every Flash API and results can differ from the original Flash behavior.
Files convert one at a time, and each SWF downloads separately. No size limit applies, and the time a long video needs depends on your device. The work stays in the tab, so nothing is uploaded.
Other ways to convert MP4 to SWF
- FFmpeg: run
ffmpeg -i clip.mp4 clip.swf. The .swf output extension selects the SWF muxer, and FFmpeg picks the codecs. - FFmpeg, video only: type
ffmpeg -i clip.mp4 -an silent.swf. The -an option skips the audio stream, so the SWF has none. - FFmpeg, set the frame rate: use
ffmpeg -i clip.mp4 -r 15 slower.swf. As an output option, -r duplicates or drops frames to reach a constant rate.
Problems with MP4 files
- Missing decoder: reading the container is not the same as having a decoder for the video or sound inside.
- Interrupted write: packet metadata in an ordinary MP4 stays in one place, so a file cut short can be unplayable.
- SWF will not play: Flash Player no longer runs the content, and Ruffle can show graphical or behavioral differences, depending on the ActionScript features a file uses.
- Missing assets: an SWF that refers to external media can fail to behave as intended when those resources are absent.
- Controls missing: ActionScript interactions are not carried over by a video conversion.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert MP4 to SWF?
Can I still play SWF files?
Which codecs end up in the SWF?
Why would anyone need an SWF today?
Will the picture keep its size?
Will the SWF have sound?
Does the SWF include interactive controls?
Does the page upload my MP4?
Can I add a whole set of MP4 files?
What does the exit-code message mean?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.