mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-08 01:20:09 +08:00
Updated hardware decoding example
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user