CjRaspiVideoCapture
|
Enables video settings to be specified. More...
#include <cj_raspi_video_capture.h>
Public Attributes | |
RaspiVideoResolution | resolution |
Video resolution. | |
int | bitrate |
Bitrate of video in bits/second. A good range for a 720p video with 30 fps is 800,000 to 1,200,000. | |
int | framerate |
Framerate of video in frames/second. 30 is a typical number. | |
int | intraperiod |
Defines how often keyframes (I-frames) are inserted versus P-frames. Set it to 15 if for example you want one keyframe every half a second in a 30 fps video. The bigger the intraperiod, the better the compression will be. The shorter the intraperiod, the quicker the video will appear on initial connection. We suggest every half a second as a starting point. | |
int | brightness |
Sets the brightness. Default is 50. Range is 0 to 100. | |
int | contrast |
Sets the contrast. Default is 0. Range is -100 to 100. | |
int | saturation |
Sets the saturation. Default is 0. Range is -100 to 100. | |
int | hflip |
Flip horizontally. Default is 0. Set it to 1 to flip. | |
int | vflip |
Flip vertically. Default is 0. Set it to 1 to flip. | |
Enables video settings to be specified.