Updated hardware decoding example

This commit is contained in:
Quentin Renard
2024-01-26 16:16:59 +01:00
parent 659c2ca53e
commit 9e2d4f72ab

View File

@@ -11,7 +11,7 @@ import (
) )
var ( var (
decoderCodecName = flag.String("c", "", "the decoder codec name (e.g. h264_nvenc)") decoderCodecName = flag.String("c", "", "the decoder codec name (e.g. h264_cuvid)")
hardwareDeviceName = flag.String("n", "", "the hardware device name (e.g. 0)") hardwareDeviceName = flag.String("n", "", "the hardware device name (e.g. 0)")
hardwareDeviceTypeName = flag.String("t", "", "the hardware device type (e.g. cuda)") hardwareDeviceTypeName = flag.String("t", "", "the hardware device type (e.g. cuda)")
input = flag.String("i", "", "the input path") input = flag.String("i", "", "the input path")