Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindFFMPEG.cmake couldn't find ffmpeg on windows at all #121

Closed
BluestarCo opened this issue Jul 8, 2022 · 1 comment
Closed

FindFFMPEG.cmake couldn't find ffmpeg on windows at all #121

BluestarCo opened this issue Jul 8, 2022 · 1 comment
Labels

Comments

@BluestarCo
Copy link

Hi
i can't use ffmpeg in project

Could NOT find FFMPEG (missing: FFMPEG_LIBRARIES FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES AVCODEC_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES SWSCALE_INCLUDE_DIRS)

Capture

please give me some instruction to config ffmpeg path in right way

@kosua20
Copy link
Owner

kosua20 commented Nov 25, 2022

Hello, the simplest way to compile with ffmpeg enabled is to download the compiled FFMPEG dependency from https://github.com/kosua20/MIDIVisualizer-dependencies/releases/tag/v1 For Windows you'll want the file ffmpeg-windows-64-static-lgpl.zip.
Unzip its content in the MIDIVisualizer/libs directory, and copy libs/ffmpeg/share/ffmpeg/FindFFMPEG.cmake to libs/ (you will have to overwrite the existing file). Afterwards, re-configure/generate in Cmake and FFMPEG should be detected properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants