Convert Video to DVD Compatible AVI with FFmpeg
This article provides a step-by-step guide and the exact FFmpeg commands required to encode modern video files into a legacy AVI container that is fully compatible with older standalone DVD players. You will learn the specific video codecs, audio formats, resolutions, and metadata tags required to bypass the hardware limitations of older home theater equipment.
Older standalone DVD players with USB ports or data-disc reading capabilities are highly sensitive to video formats. To ensure compatibility, the video must adhere strictly to Standard Definition (SD) limits, use the MPEG-4 Part 2 video codec, utilize MP3 or AC3 audio, and feature a specific FourCC identifier tag.
The FFmpeg Command
Use the following command to convert your video:
ffmpeg -i input.mp4 -c:v libxvid -vtag XVID -vf "scale=720:480:force_original_aspect_ratio=decrease,pad=720:480:(ow-iw)/2:(oh-ih)/2" -b:v 1500k -maxrate 2000k -bufsize 1000k -c:a libmp3lame -ac 2 -ar 44100 -ab 128k output.aviParameter Breakdown
-i input.mp4: Specifies your source video file.-c:v libxvid: Uses the Xvid encoder (MPEG-4 Part 2), which is the most widely supported codec on legacy hardware players.-vtag XVID: Forces the FourCC container tag to “XVID”. Many DVD players will reject the video if this tag is missing or set to “FMP4”.-vf "scale=720:480...": Restricts the resolution to 720x480 (NTSC standard). Older players cannot decode 720p, 1080p, or 4K video. This filter scales the video down while maintaining the original aspect ratio by adding black bars (letterboxing/pillarboxing) where necessary. For PAL regions, change both instances of720:480to720:576.-b:v 1500k: Sets the video bitrate to 1500 Kbps. Legacy players have limited reading speeds (especially from optical discs or slow USB 1.1/2.0 drives) and will stutter if the bitrate is too high.-maxrate 2000k -bufsize 1000k: Restricts bitrate spikes, ensuring the hardware decoder’s buffer does not overflow.-c:a libmp3lame: Encodes the audio to MP3 format, which is universally supported by AVI-compatible players.-ac 2: Forces 2-channel stereo audio. Many older players cannot handle multi-channel surround sound in AVI containers.-ar 44100: Sets the audio sample rate to 44.1 kHz.-ab 128k: Sets the audio bitrate to a stable 128 Kbps.