Postfix Naming Rule

 

Description

This rule provides how to decode the specific symbol in the URL command input argument to conduct the full filename. The '%' is the head of these specific symbol for decoding. Here is the decoding mapping table.

To avoid the space characters might cause filesystem could not access the file, the space characters will be transformed into the underscore characters.

Symbol Description Example
%YYYY 4 digits for year 2009 for year 2009
%YY the last 2 digits of 4 digits year 09 for year 2009
%MM two digits for month. 01~12 01 for January
%DD two digits for date. 01~31 01 for the 1st day of a month
%hh two digits for hour. 00~23  
%mm two digits for minute. 00~59  
%ss ss_nnn where ss is two digits for second. 00~59 and nnn is three digits for millisecond. 33_440
where 33 is the second and 440 is the millisecond
%W a underscore character. _
%N camera name.
Note: The space characters ' ' in the camera name will be transformed into the underscore characters.
camera-1
%Y counter. It starts from 1 in every uploading task. The counter will be increased by 1 for next uploading file. 1,2,3,4,5,...

Example

1. name-%YYYY-%MM-%DD%W%hh%mm%ss for time 2009/06/05 22:50:30.450.

The full name is name-2009-06-05_225030_450

2. X_%W-%N_TEST%Y for camera name is 'my camera' and three successive uploaded files.

The full name of these three files are X__-my-camera_TEST1, X_ -my-camera_TEST2, X_-my_camera_TEST3

See Also

EVENT_IMGn

Back to

HOME, ENCODER CGI