You can work with the AviExport utility from the command line using the AviExport.run file located in the <Axxon PSIM installation folder>\Modules folder for 32-bit Windows OS or <Axxon PSIM installation folder>\Modules64 for 64-bit Windows OS.

You can work with the AviExport utility from the command line only when Axxon PSIM is running.

The following parameters are used when working with the AviExport utility from the command line:

-format:formatoutput container format. This is an optional parameter, the default is avi.

Available values:

-extr:paththe path to the portable version of the player (Axxon_player_portable.exe for x32 or Axxon_player_portable64.exe for x64), it also includes the exe file mapping mode. This is an optional parameter. Disabled by default.

-period:[start time;end time]export period. Time is set in the YYYY-MM-DDThh:mm:ss format, for instance, 2015-09-29T12:10:50. This is a mandatory parameter.

-dst:pathpath to the file or folder. If the path ends with ‘\’ symbol, then it is identified as a path to folder, file names are generated automatically. The path is always identified as the path to folder when exporting to Axxon PSIM file system. If the path does not exist, then the utility tries to create it automatically. This is a mandatory parameter.

-src:[path to source]data source (audio and video) and its parameters. At least one (or more) data source must be specified.

There are several ways to specify a path:

  1. [ip-address:port;id=camera ID]. Example -src:[127.0.0.1:900;id=5]
  2. [ip-address:port;id=camera ID;ipstorage_id=Edge storage ID]. This is for Edge storage archive export. Example -src:[127.0.0.1:900;id=500;ipstorage_id=500]

When the data source is specified, optional parameters can be specified separated with “;”:

-options:[parameters]—extra options during export. All parameters are optional. It is not used when packing to Axxon PSIM file system is performed.

Possible parameters:

Export examples with different codecs: