Skip to main content

How to set the decoder using FFmpeg

· One min read

Setting up#

First make sure you have FFmpeg installed. Follow this guide if you haven't already:

Running the CLI#

The decoder being set depends on the type of codec of the input file. For example, when converting a file from h264 to h265, use the following:

ffmpeg -c:v h264_cuvid -i "C:\Transcode\input.mkv" -map 0 -c copy -c:v hevc_nvenc "C:\Transcode\output.mkv"

The following provides a list of decoders:


You can automate this process on your files using the following Tdarr Plugins:

To transcode into hevc using GPU:



Get started using Tdarr transcode automation for free with this link: