NAOqi Vision - Overview | API | Tutorial
Namespace : AL
#include <alproxies/alvideorecorderproxy.h>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Returns: |
|
---|
Returns: | Current video format used to encode video. See ALVideoRecorderProxy::setVideoFormat() for the list of possible return values. |
---|
Sets the camera used for recording.
Parameters: |
|
---|
Sets the color space used.
Parameters: |
|
---|
Sets the number of frames per second (FPS).
Parameters: |
|
---|
Note
MJPG format requires a frame rate greater than 2 FPS.
Sets the frame resolution.
Parameters: |
|
---|
Sets the codec name used to encode the video.
Parameters: |
|
---|
There are two overloads of this function:
Starts recording a video with the current parameters until ALVideoRecorderProxy::stopRecording() is called. If the destination file already exists, it will be overwritten.
Parameters: |
|
---|
Note
Only one record at a time can be made.
Starts recording a video with the current parameters until ALVideoRecorderProxy::stopRecording() is called.
Warning
Due to technical issues, do not use ARV format any longer.
Parameters: |
|
---|
Note
Only one record at a time can be made.
Stops a video record that was launched with ALVideoRecorderProxy::startRecording(). The function returns the number of frames that were recorded, as well as the video absolute path.
Returns: | Array of two elements [numRecordedFrames, recordAbsolutePath]. |
---|