QT calls the API of ffmpeg error [How to Solve]

QT calls the API of ffmpeg, and the error is as follows:

These two errors are caused by the lack of dynamic libraries in the running directory,

Dynamic library:

Program running Directory:

Directly copy all DLLs to the running directory.

QT calls ffmpeg API with the following configuration:

1. This document

Put in the project directory

2. Import and store files and header files

3. Add corresponding header file

4. Copy a dynamic library in the running directory

Read More: