83 of 95
Reference Manual ATOM one SSM500
By default the camera records in loop mode, that means it write into a continuous ring
buffer. Once the buffer is filled old data is being overwritten, so that the newest data is
always inside the buffer.
Alternatively one shot recording (mode “once”) can be used. In this mode the recording is
stopped automatically once the buffer is filled. This can be used if you want to record a
fixed time and do not want to loose data from the start of the recording.
Notes:
•
To check if the end of the buffer was reached in “once” mode, use the
rec
command. It will report buffer index 0, if the recording stopped.
•
The record mode can only be changed if no recording is currently running.
•
When the recording is started the currently configured white balance preset and the
R/G/B white balance gains are stored in the video meta data. These settings is
automatically restored when the buffer is being played back using the
play
command (also see
wb_preset
and
gain_red
command description).
Parameter
Value
Function
Comment
Mode
0
Loop
Ringbuffer: When reaching the end of the buffer
jump to start of the buffer and overwrite oldest data.
1
Once
One Shot: When reaching the end of the buffer stop
recording automatically.
17.5 rec_stop
Stops the current recording and switches the playback output into the mode which is
selected by the
stop_mode
command below.
If you want to stop the recording and immediately start recording into the next buffer use
the
rec
command instead.
17.6 play <buffer_id> <speed> <frame>
Start playback of a previously recorded buffer.
Playback can be started forward or backward and with different speeds. If no speed is
given speed 10 (x1) will be used.
If a frame index is given, playback will start from the given frame. If no index is given and
the buffer which shall be played is currently in “used” state, playback will start at the frame
that was marked with the
mark_in
command. If the buffer is in “paused” state, and no
frame is given, playback will continue from the current position (see
pos
command).
When being called without parameters this command returns the ID of the buffer which is
currently being played, or 0 if no playback is running. If playback is paused or was stopped
the playback speed will be reported as 0. The frame number will not be reported by the
play command, use the
pos
command instead to read the current frame index.
Note:
Starting playback of a buffer will restore the white balance preset and the R/G/B
gains that were selected when the recording of the buffer was started (also see
wb_preset