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.sgiParameter Breakdown:
-i input.mp4: Specifies your source video file.-pix_fmt rgb24: Sets the pixel format to 24-bit RGB (8 bits per channel), which is the standard color space for SGI files. You can also usergbaif your source video has an alpha (transparency) channel.output_%04d.sgi: Generates sequentially numbered SGI frames (e.g.,output_0001.sgi,output_0002.sgi).
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.
To use RLE Compression (Recommended):
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.sgiTo 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.sgiExtracting 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.aifParameter Breakdown:
-vn: Disables video recording, extracting only the audio.-acodec pcm_s16be: Encodes the audio to 16-bit Signed Integer Big-Endian PCM, which is the native audio format for SGI hardware.audio.aif: Saves the output as an AIFF file.