How to set the decoder using FFmpeg
· One min read
#
Setting upFirst make sure you have FFmpeg installed. Follow this guide if you haven't already:
https://docs.tdarr.io/blog/how-to-install-ffmpeg
#
Running the CLIThe 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:
h263_cuvidh264_cuvidmjpeg_cuvidmpeg1_cuvidmpeg2_cuvidmpeg4_cuvidvc1_cuvidvp8_cuvid
You can automate this process on your files using the following Tdarr Plugins:
To transcode into hevc using GPU:
Tdarr_Plugin_MC93_Migz1FFMPEG
info
Get started using Tdarr transcode automation for free with this link: