Convert SWF to VOB — Free Online Tool
Convert SWF Flash animations and multimedia files to VOB format, encoding video to MPEG-2 and audio to AC3 (Dolby Digital) — the native codec pair used on DVD-Video discs. This is especially useful for archiving legacy Flash content to a physical-media-compatible format that standard DVD players can read.
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 contain FLV1 (Sorenson Spark) or MJPEG video alongside MP3 audio, all wrapped in Adobe's proprietary Flash container. During conversion, FFmpeg decodes the FLV1 or MJPEG video stream and re-encodes it to MPEG-2 video, which is the mandatory video codec for DVD-Video compliance. The audio is simultaneously transcoded from MP3 to AC3 (Dolby Digital), the standard audio format for DVD. The output is wrapped in the VOB container with the required `-f vob` flag, which structures the multiplexed MPEG-2 and AC3 streams in the layout expected by DVD authoring tools and players. Because both the video and audio codecs must change, this is a full transcode — not a remux — meaning some generation loss is inherent.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary. This is the command-line tool that handles all demuxing, decoding, encoding, and muxing steps required to transform the SWF input into a VOB output. |
-i input.swf
|
Specifies the input SWF file. FFmpeg uses its built-in SWF demuxer to read the file, extracting the embedded video stream (typically FLV1/Sorenson Spark or MJPEG) and audio stream (typically MP3) for decoding. |
-c:v mpeg2video
|
Sets the video encoder to MPEG-2, the mandatory video codec for DVD-Video. The FLV1 or MJPEG video decoded from the SWF is fully re-encoded to MPEG-2 — this is required since VOB/DVD does not support FLV1 or MJPEG video streams. |
-c:a ac3
|
Sets the audio encoder to AC3 (Dolby Digital), the primary audio format for DVD-Video. The MP3 audio from the SWF is transcoded to AC3, ensuring compatibility with DVD players and VOB-consuming authoring tools. |
-q:v 4
|
Sets the MPEG-2 video quality using the quantizer scale, where 1 is highest quality and 31 is lowest. A value of 4 targets high-quality MPEG-2 output suitable for DVD, balancing visual fidelity with manageable file size for typical Flash-sourced content. |
-b:a 192k
|
Sets the AC3 audio bitrate to 192 kilobits per second. This is a standard DVD-compliant AC3 bitrate that provides clear stereo audio, sufficient for the speech and music typically found in Flash animations and videos. |
-f vob
|
Forces the output format to VOB, overriding FFmpeg's format auto-detection. This ensures the MPEG-2 video and AC3 audio are multiplexed with the correct stream structure and packet formatting expected by DVD authoring tools and players. |
output.vob
|
The name of the output file. The .vob extension identifies this as a Video Object file containing multiplexed MPEG-2 video and AC3 audio in DVD-compatible format. |
Common Use Cases
- Archiving old Flash-based educational courseware or training videos to DVD so they remain viewable after browser Flash support has been dropped
- Preserving Flash animation portfolios or short films created in the 2000s onto DVD-Video disc for physical archival or distribution
- Converting Flash-based promotional or marketing videos retrieved from legacy websites into a format accepted by DVD authoring software like DVD Styler or Nero
- Preparing digitized Flash content for playback on a standard home DVD player connected to a television, without requiring a PC
- Recovering Flash game cutscenes or intro animations extracted from SWF files and packaging them into a DVD-compatible format for a retro gaming archive
Frequently Asked Questions
SWF files often use resolution-independent vector graphics that can scale without quality loss. When FFmpeg decodes the SWF, it rasterizes the content at a fixed pixel resolution before encoding it to MPEG-2. If the source SWF has a low declared pixel resolution, the MPEG-2 output may appear soft or blocky. For best results, ensure the source SWF has a reasonably high native resolution before converting, as upscaling during MPEG-2 encoding will not recover lost detail.
The DVD-Video specification, which VOB is built around, requires audio to be encoded in a DVD-compliant format — primarily AC3 (Dolby Digital), LPCM, or DTS. MP3 audio, which is the common audio codec inside SWF files, is not a valid primary audio stream on standard DVD-Video. FFmpeg therefore transcodes the MP3 audio to AC3 at 192k bitrate to ensure the VOB file is compatible with DVD players and authoring tools.
The `-q:v` parameter controls the MPEG-2 quantizer scale, where lower numbers mean higher quality and larger file sizes. The default value of 4 provides a good balance between quality and file size for most Flash-sourced content. To increase quality, lower the value (e.g., `-q:v 2`); to reduce file size at the cost of quality, raise it (e.g., `-q:v 8`). The valid range for MPEG-2 in VOB output is 1 through 31.
The output VOB file contains valid MPEG-2 video and AC3 audio streams and can be imported into most DVD authoring applications such as DVD Styler, DVD Flick, or Nero Vision. However, a raw VOB file is not itself a complete DVD-Video structure — you will still need authoring software to generate the IFO and BUP metadata files and a proper VIDEO_TS folder structure before burning to disc or creating an ISO image.
FFmpeg does not natively batch-process files in a single command, but you can run the command in a shell loop. On Linux or macOS: `for f in *.swf; do ffmpeg -i "$f" -c:v mpeg2video -c:a ac3 -q:v 4 -b:a 192k -f vob "${f%.swf}.vob"; done`. On Windows Command Prompt: `for %f in (*.swf) do ffmpeg -i "%f" -c:v mpeg2video -c:a ac3 -q:v 4 -b:a 192k -f vob "%~nf.vob"`. This processes each SWF in the folder and produces a matching VOB file.
No. VOB is a linear video container format with no support for interactivity, scripting, or branching logic. All ActionScript, button interactions, clickable elements, and frame navigation built into the SWF are permanently lost during conversion. Only the rendered visual frames and audio that FFmpeg can decode are captured — the output is a passive video file. If your SWF relies heavily on user interaction, the resulting VOB may appear incomplete or show only a static or looping portion of the content.
Technical Notes
SWF files present some unique decoding challenges for FFmpeg. Not all SWF files contain straightforward video streams — some are purely vector-animation-driven with embedded ActionScript rendering, which FFmpeg's SWF demuxer may not decode correctly, potentially resulting in a blank or incomplete output. SWF files that do contain an embedded FLV video track (the most common case for video-heavy SWFs) decode reliably. The output MPEG-2 video in the VOB container must conform to DVD-Video's strict constraints: standard resolutions of 720x480 (NTSC) or 720x576 (PAL) are expected by DVD players, so if your SWF has a non-standard resolution you may want to add `-s 720x480` to the command for proper DVD compliance. AC3 audio at 192k is a solid default, but DVD-Video supports up to 448k AC3 — raising `-b:a` to 384k or 448k is advisable for music-heavy Flash content. The `-f vob` flag is essential; without it, FFmpeg may not correctly structure the output stream multiplexing expected by downstream DVD tools. VOB does support multiple audio tracks and subtitle streams, but since SWF does not carry subtitle data or secondary audio, those DVD features cannot be populated from this source.