How to enable Windows media foundation hardware acceleration on opencv.

asked 2020-11-03 06:24:09 -0600

Sanju gravatar image

updated 2020-11-03 06:24:52 -0600

Hi, My OpenCV application uses cv::CAP_MSMF flag for cv::VideoCapture, and in getBuildInformation() is added below. Is the application uses the Windows Media Foundation Hardware acceleration? or do I need to ensure or enable anything in my application.

  Video I/O:
    DC1394:                      NO
    FFMPEG:                      YES (prebuilt binaries)
      avcodec:                   YES (58.54.100)
      avformat:                  YES (58.29.100)
      avutil:                    YES (56.31.100)
      swscale:                   YES (5.5.100)
      avresample:                YES (4.0.0)
    GStreamer:                   NO
    DirectShow:                  YES
    Media Foundation:            YES
      DXVA:                      YES
    Intel Media SDK:             YES (C:/Program Files (x86)/IntelSWTools/Intel(R) Media SDK 2019 R1/Software Development Kit/lib/x64/libmfx_vs2015.lib)


edit retag flag offensive close merge delete