最終更新:2021-07-16 (金) 01:01:20 (1016d)
OpenCV/ハードウェアアクセラレーション
https://github.com/opencv/opencv/wiki/Video-IO-hardware-acceleration
概要
- Since OpenCV 4.5.2 new properties are added to control H/W acceleration modes for video decoding and encoding tasks. New builtin properties brings easy to use API for OpenCV Users.
VideoCapture capture(filename, CAP_FFMPEG, { CAP_PROP_HW_ACCELERATION, VIDEO_ACCELERATION_ANY, } );
API
cv::VideoCapture
cv::VideoWriter
バックエンド
- cv::VideoCaptureAPIs
- cv::CAP_FFMPEG
- cv::CAP_GSTREAMER?
- cv::CAP_MSMF
API/SDK
- FFmpeg
- ffmpeg
- libavcodec-dev
- libavformat-dev?
- libswscale-dev