Transcode Video to Lossless UT Video MKV using FFmpeg

This article provides a straightforward guide on how to transcode video files into the lossless UT Video codec wrapped in an MKV container using FFmpeg. You will learn the exact command-line syntax required, the explanation of the parameters, and how to handle audio to ensure a completely lossless conversion process.

To transcode a video to the UT Video codec inside a Matroska (.mkv) container, run the following basic FFmpeg command in your terminal:

ffmpeg -i input.mp4 -c:v utvideo -c:a copy output.mkv

Command Breakdown

Controlling Pixel Formats (Optional)

UT Video supports various color spaces. By default, FFmpeg will try to match the source’s pixel format. However, you can explicitly define the output pixel format using the -pix_fmt flag:

Using these commands ensures your video is preserved in a visually and mathematically lossless state, making it ideal for archiving or intermediate editing workflows.