Go to documentation repository
...
Note | ||
---|---|---|
| ||
You can work with the AviExport utility from the command line only when Axxon PSIM is running. |
...
You can use the following parameters
...
when working with the AviExport utility from the command line:
-format:format—output container format. This is an optional parameter, the default is avi.
...
-period:[start time;end time]—common export period. Time is set in the YYYY-MM-DDThh:mm:ss format, for instance, for example, 2015-09-29T12:10:50. This is a mandatory parameter if you don't set a certain period for each camera.
-period:[start time:end time;start time_2:end time_2]—separate export periods. You can set periods in the (UTC_UNIX) timestamp format, for example, 2015-09-29T12:10:50. This is a mandatory parameter if you don't set a common period. The character ":" is the separator in one period. The character ";" is the separator between periods.
Example of separate periods:
from 2024-01-31T12:00:00.000 to 2024-01-31T12:30:00.000 and from 2024-01-31T13:00:00.000 to 2024-01-31T13:30:00.000 are set this way:
periods: [1706691600000:1706693400000;1706695200000:1706697000000].
Note | ||
---|---|---|
| ||
You must set periods strictly in sequence. |
If a camera doesn't have its own period, use the -period:[start time;end time] parameter of the common period.
If each camera has its own period, it isn't necessary to use the -period:[start time;end time] parameter of the common period.
If a camera doesn't have its own period and you don't set the common export period, then the export fails.
The example of the command line where the first camera has its own period while the second and the third cameras have one common period:
-period:[2024-01-31T15:00:00.000;2024-01-31T16:00:00.000]
-src:[127.0.0.1:900;id=1];audio:[auto];vcodec:[fourcc=x264;r=0;k=0;q=0];periods:
[1706691600000:1706693400000;1706695200000:1706697000000];titles:[off]
-src:[127.0.0.1:900;id=2];audio:[auto];vcodec:[fourcc=x264;r=0;k=0;q=0];titles:[off]
-src:[127.0.0.1:900;id=3];audio:[auto];vcodec:[fourcc=x264;r=0;k=0;q=0];titles:[off].
-dst:path—path to the file or folder. If the path ends with ‘\’ symbol, then it is identified as a path to the folder, and file names are generated automatically. The path is always identified as the path to the folder when exporting to Axxon PSIM file system. If the path does not doesn't 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 You must specify at least one (or more) data source must be specified.
There are several ways to specify a path:
When you specify the data source
...
separated with “;”:, you can specify optional parameters:
-options:[parameters]—extra options during export. All parameters are optional. It is not isn't used when packingto Axxon PSIM file system is performed.
...
...
...