Convert SWF to AIFC — Free Online Tool
Extract and convert the audio track from a SWF Flash file into AIFC format, encoding it as uncompressed big-endian PCM (pcm_s16be) for professional-grade audio fidelity. This is especially useful for recovering MP3 or AAC audio embedded in legacy Flash animations and games into a lossless-compatible container ready for audio production workflows.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your SWF file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
SWF files typically carry audio encoded as MP3 (FLV1-era libmp3lame) or AAC, embedded alongside vector graphics and interactivity data that has no equivalent in audio-only formats. During this conversion, FFmpeg demuxes the SWF container, discards all video and interactive content, and decodes the compressed audio stream to raw PCM samples. Those samples are then re-encoded as 16-bit big-endian signed PCM (pcm_s16be) and written into an AIFC container — an Apple-extended AIFF format that supports both uncompressed PCM and compressed audio codecs. Because the audio is fully decoded and re-encoded as PCM, the output is uncompressed, making it slightly larger than the source but free from further lossy compression artifacts.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool. In the browser-based version of this tool, this runs via FFmpeg.wasm (WebAssembly) entirely in your local browser — no file data is sent to any server. |
-i input.swf
|
Specifies the input SWF file. FFmpeg reads and demuxes the Flash container, identifying the embedded audio stream (typically MP3 via libmp3lame or AAC) and any video or interactive data. |
-c:a pcm_s16be
|
Sets the audio codec to 16-bit signed big-endian PCM, which is the standard uncompressed audio codec for AIFC. This decodes the lossy compressed audio from the SWF and re-encodes it as uncompressed PCM, ensuring no further quality loss during future editing. |
-b:a 128k
|
Specifies a target audio bitrate of 128 kbps. For uncompressed PCM codecs like pcm_s16be, this parameter has no effect since PCM bitrate is fixed by sample rate and bit depth, but it is included as a safe default for consistency. |
output.aifc
|
Defines the output file name and instructs FFmpeg to write an AIFC container. The .aifc extension signals the Apple AIFF-C format, which supports the big-endian PCM audio codec used in this conversion and is natively compatible with macOS audio tools and professional DAWs. |
Common Use Cases
- Recovering sound effects or background music embedded in a legacy Flash game so they can be used in a modern audio editor or game engine
- Extracting a voiceover or narration track from an old SWF e-learning module to repurpose it in a new training video or podcast
- Archiving audio from Flash animations before browser support fully disappears, preserving it in a professional PCM format with long-term readability
- Preparing extracted Flash audio for mastering or post-production in Pro Tools, Logic Pro, or other DAWs that readily import AIFC/AIFF files
- Converting Flash cartoon soundtracks into an uncompressed format for lossless re-editing or remixing without further quality degradation
- Pulling jingle or advertisement audio out of SWF-based banner ads for compliance review or creative asset archiving
Frequently Asked Questions
No — the conversion cannot recover quality that was lost when the audio was originally compressed as MP3 or AAC inside the SWF. What it does do is decode that compressed audio to raw PCM and store it in AIFC without adding any further lossy compression. The result is a lossless snapshot of whatever fidelity existed in the Flash file, which is ideal for editing or archiving without degrading it any further.
The SWF file's audio was stored in a compressed format (typically MP3 at 128k or AAC), while the AIFC output uses uncompressed 16-bit big-endian PCM. Uncompressed PCM for stereo audio at 44.1 kHz runs around 10 MB per minute, compared to roughly 1 MB per minute for 128k MP3. This size increase is expected and is the trade-off for having a fully uncompressed, edit-ready audio file.
All non-audio content in the SWF — including vector animations, ActionScript interactivity, embedded fonts, and video frames — is completely discarded. FFmpeg only extracts and decodes the audio stream. If your SWF contains important visual content you also need to preserve, you would need a separate conversion to a video format first.
pcm_s16be (16-bit signed big-endian PCM) is the default and most compatible choice for AIFC, matching the native byte order and bit depth used by classic Mac OS and AIFF-based workflows. If you need higher dynamic range for professional audio post-production, you could substitute pcm_s24be or pcm_s32be in the FFmpeg command by changing -c:a to your preferred codec. However, for most archival or DAW import purposes, 16-bit PCM is perfectly sufficient.
To change the bit depth, replace pcm_s16be with another supported AIFC codec such as pcm_s24be or pcm_f32be in the -c:a flag. To resample the audio, add the flag -ar followed by your target sample rate — for example, -ar 44100 to ensure 44.1 kHz output or -ar 48000 for broadcast standard 48 kHz. The full command with resampling would look like: ffmpeg -i input.swf -c:a pcm_s24be -ar 48000 output.aifc.
Yes, on the command line you can use a shell loop to process multiple files. On Linux or macOS, use: for f in *.swf; do ffmpeg -i "$f" -c:a pcm_s16be -b:a 128k "${f%.swf}.aifc"; done. On Windows Command Prompt, use: for %f in (*.swf) do ffmpeg -i "%f" -c:a pcm_s16be -b:a 128k "%~nf.aifc". This is particularly useful when archiving large collections of Flash content.
Technical Notes
SWF files embed audio using either libmp3lame (FLV1-era Flash) or AAC, both of which are lossy codecs. When FFmpeg demuxes a SWF, it decodes the compressed audio stream entirely before re-encoding it as PCM into AIFC, meaning there is one decode-encode cycle but the output itself introduces no new lossy compression. The -b:a 128k flag in this command has no practical effect on uncompressed PCM codecs like pcm_s16be — PCM bit rate is determined solely by sample rate, bit depth, and channel count — but it is harmless to include. AIFC uses big-endian byte ordering (unlike WAV, which is little-endian), making it the native format for Apple professional audio tools and historically for Mac-based DAWs. Note that SWF does not support multiple audio tracks, subtitles, or chapter markers, so there is no metadata of that kind to lose during conversion. Basic stream metadata may not carry over since SWF does not expose rich audio metadata tags the way Matroska or MP4 containers do. If the SWF contains only video with no audio stream, FFmpeg will throw an error and produce no output.