OpenCV with Intel Media SDK
we are just programming a little VideoCapture node to read a stream from a camera and write it down to file with H.264 encoding. We're using OpenCV with it's functions
cv::VideoWriter("DestinationFile", cv::fourCC('H','2','6,''4'), ...)
It's just a simple OpenCV Code processing reading and writing in a Loop. The input of the camera shall be 1920x1080. Capturing this with GStreamer is no problem!
The Problem that occoured
We felt very sad after programming this, because the writing is very slow... The maximum was about 10 fps, even with 1280x720. But we did not dispair!
The possible solution
OpenCV is supporting the 'Intel Media SDK'. You can use it with
cv::VideoWriter("DestinationFile", apiReference="INTEL_MFX", ...).
This API Reference will directly adress the Intel Chipset to encode/decode your stuff. Before your are able to use the API Reference the Intel Media SDK has to be installed.
Here is detailled description: https://github.com/opencv/opencv/wiki/MediaSDK-encode-decode-backend
But we have a problem building OpenCV with the MediaSDK: CMake is Unable to find the SDK. In CMake it is allways telling
-- Intel MEdia SDK: NO
no matter which flags are set.
Is there somebody that have experiences with installing OpenCV with Media SDK?
- 287 All Categories
- 104 Announcements & News
- 47 Product News - New Product/Product Change Notice/ End-of-life
- 179 Welcome Developers!
- 49 Unboxing & Project Sharing
- 18 Tech Updates
- 380 UP Products
- 6 UP Xtreme i11
- 15 UP Squared 6000
- 38 UP Squared Pro
- 126 UP Xtreme
- 796 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral