Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Starting export  Exporting archive to a Remote Server, Remote Admin Workstation or Remote Client Next page


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

Important!

AviExport utility can be used from the command line only while Intellect is running.

The following parameters are used when using AviExport utility from command line:

-format:format – output container format. This is an optional parameter, avi is by default.

Available values:

  • fsIntellect file system;
  • avi – avi container;
  • mkv – mkv container;
  • asf – asf container;
  • flv – flv container;
  • mp4 – mp4 container.

-extr:path – the 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 mapping mode. This is an optional parameter. Disabled by default.

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

-dst:path – path 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 export to Intellect file system is performed. If the path does not exist, then the utility tries to create it. 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 “;”:

  • vcodec: value – video codec settings. It is not in use when packing to Intellect file system is performed. Available values:
    • vcodec:auto - bin packing with no conversion (used by default).
    • vcodec:axxn – bin packing with no conversion (AXXN codec is specified).
    • vcodec:[codec parameters] – for example, vcodec:[fourcc=DIVX;r=-1;k=-1:q=6]
  • audio:value – audio source settings. Available values:
    • audio:auto – audio is exported automatically if it is configured and there is any in the archive (used by default).
    • audio:off – audio is not exported for this camera.
    • audio:[path] – specifying path to the audio source in the [ip-address:port;id= microphone ID] or ["path to Intellect archive";id=microphone ID] format.
  • titles:[parameters] – titles settings. It is not in use when packing to Intellect file system is performed. Parameters:
    • int – titles are exported in the bin body.
    • ext - titles are exported to external .srt file.
      By default titles are not exported.

-options:[parameters] – extra options during export. All parameters are optional. It is not in use when packing to Intellect file system is performed.

Possible parameters:

  • holesplit=[number] – time (in milliseconds) allowed between archive intervals during which intervals are merged in 1 file. If time between intervals exceeds the specified one, then there is no merge. Further data is recorded to a new file. By default all intervals are merged. When multiple channels are exported into .avi file, the parameter is not in use.
  • maxsize=[number] – maximum size of file (in MB). If the size is bigger, then further data is recorded to a new file. Maximum allowed value as well as default value is 4096.
  • duration=[number] – maximum duration of 1 file (in seconds). If the duration is longer, then further data is recorded to a new file. By default there is no duration limit.

Export examples with different codecs:

  • DIVX: 
    -dst:"E:\test\export1\" -format:avi -extr:"E:\test\export1\Axxon_player_portable.exe" -src:[127.0.0.1:900;id=5];vcodec:[fourcc=DIVX;r=-1;k=-1:q=6];audio:[127.0.0.1:910;id=2];titles:[ext;int] -period:[2015-09-29T12:10:50;2015-09-29T12:40:50]
  • xvid mpeg-4: 
    -dst:"C:\Users\itv\Documents\Intellect\export\" -tmp:"C:\Users\itv\Documents\Intellect\export\132CCBFA-18F3-E811-AA66-1C1B0DE52EED\" -format:avi -period:[2018-11-28T17:20:00.000;2018-11-28T17:21:00.000] -options:[maxsize=670] -src:[127.0.0.1:900;id=1];vcodec:[fourcc=xvid;r=0;k=0;q=0];titles:[ext;int]
  • x264vfw: 
    -dst:"C:\Users\itv\Documents\Intellect\export\" -tmp:"C:\Users\itv\Documents\Intellect\export\F533AE2C-19F3-E811-AA66-1C1B0DE52EED\" -format:avi -period:[2018-11-28T17:20:00.000;2018-11-28T17:21:00.000] -options:[maxsize=670] -src:[127.0.0.1:900;id=1];vcodec:[fourcc=x264;r=0;k=0;q=0];titles:[ext;int]


  • No labels