Convert DPX Image Sequence to EXR Using FFmpeg

This guide provides a straightforward tutorial on how to convert a sequence of DPX (Digital Picture Exchange) images into an EXR (OpenEXR) sequence using FFmpeg. You will learn the exact command-line syntax required to handle frame numbering, define framerates, and manage pixel formats to ensure a high-quality, seamless transition between these professional imaging formats.

To convert a DPX sequence to an EXR sequence, you must define the input pattern of your files, set the desired frame rate, and specify the output pattern. Open a terminal or command prompt and use the following command structure:

ffmpeg -framerate 24 -i input_%04d.dpx -pix_fmt gbrpf16le output_%04d.exr

Command Breakdown

Specifying a Start Number

If your DPX sequence does not start at frame zero or one, you can instruct FFmpeg to begin at a specific frame number using the -start_number flag:

ffmpeg -framerate 24 -start_number 1001 -i input_%04d.dpx -pix_fmt gbrpf16le output_%04d.exr

Applying Compression (Optional)

FFmpeg’s EXR encoder supports various compression methods. You can specify the compression type using the -compress option followed by the compression algorithm name (such as zip, rle, piz, or none):

ffmpeg -framerate 24 -i input_%04d.dpx -pix_fmt gbrpf16le -compress zip output_%04d.exr