Convert Microsoft Video 1 MSZH to MP4 with FFmpeg

This article provides a straightforward guide on how to convert legacy Microsoft Video 1 (MSZH/MSVC) files into the modern and widely compatible MP4 format using FFmpeg. You will learn the exact command-line syntax required to decode this older codec and transcode it into high-quality H.264 video with AAC audio.

Step 1: Open Your Command Line Interface

Ensure that FFmpeg is installed on your system and added to your system’s PATH environment variables. Open your Command Prompt (Windows) or Terminal (macOS/Linux) and navigate to the directory where your Microsoft Video 1 file is stored.

Step 2: Execute the Conversion Command

Run the following command to convert your legacy video. Replace input.avi with the name of your source file and output.mp4 with your preferred destination name:

ffmpeg -i input.avi -c:v libx264 -pix_fmt yuv420p -c:a aac output.mp4

Understanding the Command Parameters

Advanced Quality Control (Optional)

If you want to control the quality of the output video, you can introduce the Constant Rate Factor (-crf) parameter. The CRF scale ranges from 0 to 51, where lower numbers mean higher quality:

ffmpeg -i input.avi -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac output.mp4

Using a CRF value of 18 will yield a visually lossless conversion, preserving the exact visual detail of your original file.