Convert Video to SGI Format Using FFmpeg

This guide explains how to transcode video files into Silicon Graphics (SGI) compatible formats using the FFmpeg command-line tool. Because FFmpeg supports reading the legacy SGI Movie (.mv) container but cannot write to it directly, the standard industry method for exporting to SGI systems is converting the video into an SGI image sequence (.sgi) or a compatible raw format. Below, you will find the exact commands and parameters needed to convert your videos into high-quality SGI image sequences and compatible audio files.

Convert Video to an SGI Image Sequence

SGI workstations historically rely on sequentially numbered image files for high-end video editing and compositing. To convert a video file into an SGI image sequence, use the following command:

ffmpeg -i input.mp4 -pix_fmt rgb24 output_%04d.sgi

Parameter Breakdown:

Encoding with Compression Options

FFmpeg’s SGI encoder supports both uncompressed and Run-Length Encoded (RLE) compression. RLE reduces file size without losing any image quality.

By default, FFmpeg applies RLE compression to SGI outputs. You can explicitly state it using the -coder flag:

ffmpeg -i input.mp4 -pix_fmt rgb24 -coder rle output_%04d.sgi

To export Uncompressed SGI images:

If your target platform requires uncompressed files, disable compression by setting the coder to raw:

ffmpeg -i input.mp4 -pix_fmt rgb24 -coder raw output_%04d.sgi

Extracting SGI-Compatible Audio

Silicon Graphics systems natively process uncompressed audio, typically in Big-Endian PCM format wrapped in an AIFF container. To extract the audio from your video into an SGI-friendly format, run:

ffmpeg -i input.mp4 -vn -acodec pcm_s16be audio.aif

Parameter Breakdown: