| -hwacce1 d3d11va | is the hardware decoder, supported by AMD, Nvidia and Intel GPUs; otherwise will use cpu decoder, high cpu usage |
| -i test.mkv | is the source video |
| -c:v | is the video encoder,it can be: |
| | – x264, x265 – software encoders, heavy CPU usage |
| | – h264_amf, hevc_amf – AMD hardware encoders |
| | – h264_nvenc, hevc_nvenc – NVidia HW encoders |
| | – h264_qsv, hevc_qsv – Intel HW encoders |
| -qp (i, p) | is the target image quality, between 0 (lossless) to 51 (worst) |
| -c:a | is the audio codec, it can be aac, flac, ac3 |
| -b:a | is the audio bitrate, 320k is default |
| transcoded.mkv | is the destination file name and container, container can be: mkv, mp4, avi |