Skip to content
TianZer edited this page Aug 1, 2025 · 13 revisions

Quick start

  • Image:
./ac_cli -i p1.png
  • Video:
./ac_cli video -i p1-1.m4v # default

./ac_cli video -i p1-1.m4v -p opencl --ve hevc_amf --vf nv12 --vb 10000 # custom encoding

--vd, --decoder, --vf, --format and --ve, --encoder will pass to FFmpeg directly, please refer to the FFmpeg document for available values.

Arguments

ac_cli [OPTIONS] [input...] [SUBCOMMANDS]


POSITIONALS:
  input TEXT ...              input files.

OPTIONS:
  -h,     --help              Print this help message and exit
  -i,     --input TEXT ...    input files.
  -o,     --output TEXT ...   output files.
  -m,     --model TEXT [acnet-gan]
                              model name, use '--lm' to list
  -p,     --processor TEXT [cpu]
                              processor for upscaling, use `--lp` to list.
  -d,     --device INT [0]    device index for processor, use `--ld` to list.
  -f,     --factor FLOAT [2]  factor for upscaling.
          --lm, --models      list models.
          --lp, --processors  list processor info.
  -l,     --ld, --devices     list device info.
  -v,     --lv, --version     show version info.

SUBCOMMANDS:
  video                       video processing
ac_cli video [OPTIONS]


OPTIONS:
  -h,     --help              Print this help message and exit
          --vd, --decoder TEXT
                              decoder to use
          --vf, --format TEXT decode format
          --ve, --encoder TEXT
                              encoder to use
          --vb, --bitrate INT bitrate for encoding, kbit/s

Clone this wiki locally