![]() |
OpenCV 5.0.0
Open Source Computer Vision
|
#include <opencv2/gapi/oak/oak.hpp>
公開型 | |
| enum class | Profile : int { H264_BASELINE , H264_HIGH , H264_MAIN , H265_MAIN , MJPEG } |
| enum class | RateControlMode : int { CBR , VBR } |
公開変数類 | |
| std::int32_t | bitrate = 8000 |
| float | frameRate = 30.0f |
| std::int32_t | height = 1080 |
| std::int32_t | keyframeFrequency = 30 |
| bool | lossless = false |
| std::int32_t | maxBitrate = 8000 |
| std::int32_t | numBFrames = 0 |
| std::uint32_t | numFramesPool = 4 |
| Profile | profile = Profile::H265_MAIN |
| std::int32_t | quality = 80 |
| RateControlMode | rateCtrlMode = RateControlMode::CBR |
| std::int32_t | width = 1920 |
|
strong |
|
strong |
| std::int32_t cv::gapi::oak::EncoderConfig::bitrate = 8000 |
圧縮出力ビットストリームの優先ビットレート(kb)を指定する
| float cv::gapi::oak::EncoderConfig::frameRate = 30.0f |
フレームレート
| std::int32_t cv::gapi::oak::EncoderConfig::height = 1080 |
入力および圧縮出力のフレーム高さ
| std::int32_t cv::gapi::oak::EncoderConfig::keyframeFrequency = 30 |
xフレームごとにキーフレームが挿入される
| bool cv::gapi::oak::EncoderConfig::lossless = false |
ロスレスモード([M]JPEGのみ)
| std::int32_t cv::gapi::oak::EncoderConfig::maxBitrate = 8000 |
圧縮出力ビットストリームの最大ビットレート(kb)を指定する
| std::int32_t cv::gapi::oak::EncoderConfig::numBFrames = 0 |
挿入するBフレームの数を指定する
| std::uint32_t cv::gapi::oak::EncoderConfig::numFramesPool = 4 |
このオプションは、このノードのプールで利用可能なフレーム数を指定する(受信ノードの消費が遅い場合に有効)
| Profile cv::gapi::oak::EncoderConfig::profile = Profile::H265_MAIN |
エンコーディングプロファイル、H264、H265またはMJPEG
| std::int32_t cv::gapi::oak::EncoderConfig::quality = 80 |
0〜100%の値(おおよその品質を表す)
| RateControlMode cv::gapi::oak::EncoderConfig::rateCtrlMode = RateControlMode::CBR |
レート制御モード。固定ビットレートと可変ビットレートのどちらを使うかを指定する(H264 / H265)
| std::int32_t cv::gapi::oak::EncoderConfig::width = 1920 |
入力および圧縮出力のフレーム幅