Convert Video to SVCD Using FFmpeg
This guide provides a straightforward, step-by-step tutorial on how to transcode any video file into the Super Video CD (SVCD) format using the powerful command-line tool, FFmpeg. You will learn the exact encoding parameters required for SVCD compliance, including video resolutions, bitrates, and audio formats, along with the precise command-line structures needed to complete the conversion.
Understanding SVCD Specifications
Before running the conversion, it is helpful to understand the strict technical standards of the SVCD format. SVCD uses MPEG-2 video and MPEG-1 Audio Layer II (MP2) audio. The exact specifications depend on the regional television standard (NTSC or PAL):
- NTSC SVCD: 480x480 resolution, 29.97 frames per second (fps).
- PAL SVCD: 480x576 resolution, 25 frames per second (fps).
- Audio: MP2 format, stereo, 44100 Hz sample rate, typically 224 kbps.
- Maximum Bitrate: The combined video and audio bitrate must not exceed 2788 kbps.
Method 1: The Automatic Target Method (Recommended)
FFmpeg has built-in presets that automatically apply the correct resolution, bitrate, GOP size, and audio formats for SVCD. This is the easiest and most reliable method.
For NTSC SVCD (North America, Japan)
Open your terminal or command prompt and run the following command:
ffmpeg -i input.mp4 -target ntsc-svcd output.mpgFor PAL SVCD (Europe, Asia)
For PAL systems, use the PAL target preset:
ffmpeg -i input.mp4 -target pal-svcd output.mpgIn these commands, -i input.mp4 specifies your source
video, -target applies the predefined SVCD parameters, and
output.mpg is the resulting SVCD-compliant MPEG-2 file.
Method 2: The Manual Method (For Custom Control)
If you need to fine-tune the parameters or if the target preset does not yield the desired results, you can manually define the codecs, bitrates, and aspect ratios.
Use the following command to manually encode to an NTSC-compliant SVCD:
ffmpeg -i input.mp4 -c:v mpeg2video -s 480x480 -r 29.97 -g 15 -keyint_min 15 -b:v 2300k -maxrate:v 2500k -bufsize:v 917k -c:a mp2 -ar 44100 -b:a 224k output.mpgExplanation of Manual Parameters:
-c:v mpeg2video: Sets the video codec to MPEG-2.-s 480x480: Sets the resolution (use480x576for PAL).-r 29.97: Sets the frame rate (use25for PAL).-g 15 -keyint_min 15: Sets the Group of Pictures (GOP) size, which is critical for hardware compatibility.-b:v 2300k: Sets the average video bitrate.-maxrate:v 2500k: Limits the maximum video bitrate to ensure compatibility.-bufsize:v 917k: Sets the video buffer verifier (VBV) buffer size.-c:a mp2: Sets the audio codec to MPEG-1 Audio Layer II.-ar 44100: Sets the audio sample rate to 44.1 kHz.-b:a 224k: Sets the audio bitrate to 224 kbps.