Skip To Main Content
Support Knowledge Base

Unable to Configure OpenCV* in OpenVINO™ Inference Due to Missing opencv_videoio_ffmpeg_64.dll

Content Type: Install & Setup   |   Article ID: 000088436   |   Last Reviewed: 02/11/2022

Environment

Operating System

Windows® 10, 64-bit*
OpenVINO 2021.4.582

Description

  1. Execution of video from IP camera via Real Time Streaming Protocol (RTSP) outputs pink screen.
  2. Received error when creating a VideoWriter.

    Error:

    MFX: Can't initialize session

    [ERROR:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\videoio\src\cap.cpp (589) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

    OpenCV(4.5.3-openvino) C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find

    starting number (in the name of file): Videos\driveway.avi in function 'cv::icvExtractPattern'

Resolution

Steps to install FFmpeg on Windows® 10:

  1. Go to the directory: "<INSTALL_DIR>\openvino\opencv"
  2. Right-click on ffmpeg-download.ps1 script in Windows PowerShell to download the opencv_ffmpeg_64.dll file.
  3. Reboot the PC when the installation is completed.

Related Products

This article applies to 1 products.