当前位置:网站首页>Configuration and compilation of mingw-w64, msys and ffmpeg
Configuration and compilation of mingw-w64, msys and ffmpeg
2022-06-23 07:03:00 【Wool leek】
mingw-w64、msys and ffmpeg Configuration and compilation of
download mingw-w64 Offline installer :[https://www.cr173.com/soft/132367.html]
Download and unzip , And then put mingw-w64\mingw-w64\x86_64-4.9.2-posix-seh-rt_v3-rev1\mingw64 Copy all files under the path to C Just a plate , Directory as follows :C:\mingw-w64\x86_64-4.9.2-posix-seh-rt_v3-rev1\mingw64;
Test the installation for success :
1、 open cmd, Get into mingw64\bin Catalog ,
2、 Type in the command gcc -v
3、 Will be displayed gcc Version, etc , If you see this message , Indicates successful installation .
download msys:[http://www.mingw.org/wiki/MSYS/]
Click Install directly , I install it in C disc , There will be some prompts during installation ,yes Just go ( Including the black window y)
And then to C:\msys\1.0\etc Catalog , Copy fstab.sample by fstab, Then modify as follows ( The contents above this text remain unchanged ):
#You can use a # as the first character on the line as a comment indicator.
#Blank lines are ignored.
#Win32_Path Mount_Point
C:/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64 /mingw
c:/ActiveState/perl /perl
Then edit C:\msys\1.0\msys.bat file , Add... At the beginning call “D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat” In this way, the environment variables are configured ( I still have some questions about the configuration here ).
Test for successful installation , start-up msys terminal , Input gcc -v
download ffmpeg:[https://github.com/ffmpeg/ffmpeg]
After downloading, copy all to C:\msys\1.0\home.
And then run msys,cd To C:\msys\1.0\home\ffmpeg Catalog , perform ./configure( At this time, there may be various command not found problem , This is because msys Under the bin Some files are missing , Most of these files can be found at the following links , Then add to bin It's OK , Refer to the following problem summary for details )
Execute after success :make ( The compilation time may be a little long , Please be patient )
then :make install
Only this and nothing more ,ffmpeg stay windows The compilation on has been completed , At this point we can try to use ffmpeg Command to verify the compilation results , perform ./ffmpeg.exe -h
Then you will see some information : 
windows64 Next FFmpeg Compilation problem summary :
[https://blog.csdn.net/lz8362/article/details/79165334]
[http://gnuwin32.sourceforge.net/packages/coreutils.htm]
边栏推荐
- C语言运算符优先级口诀
- 利用fuser查看文件使用情况
- QT designer cannot modify the window size, and cannot change the size by dragging the window with the mouse
- [STL] summary of deque usage of sequential containers
- WPF Command指令和INotifyPropertyChanged
- [graduation season · advanced technology Er] it's my choice. I have to walk on my knees
- MySQL的意向共享锁、意向排它锁和死锁
- 2121. 相同元素的间隔之和-哈希表法
- xml schem 记录
- [QT] basic learning notes
猜你喜欢

How to realize video call and live interaction in a small program when live broadcasting is so popular?

EndNote20使用教程分享(未完

Storage mode of data in memory (C language)

图解三次握手四次挥手,小白都能看懂

MySQL optimization

Run typescript code directly using TS node

js 判断两个数组增加和减少的元素
![[project training] change of linear arrow](/img/a4/7554522c13684d7590d247f28a6965.png)
[project training] change of linear arrow

994. 腐烂的橘子-非递归法
![[project training] multi segment line expanded to parallel line](/img/f2/ee4985fd2454bf00d600e34a818f2d.png)
[project training] multi segment line expanded to parallel line
随机推荐
Common setup modes (Abstract Factory & responsibility chain mode & observer mode)
反鸡汤致辞
Badly placed ()‘s 问题
About professional attitude
TP6 安装拓展
XXL-SSO 实现SSO单点登录
开源OAuth2框架 实现SSO单点登录
【BULL中文文档】用于在 NodeJS 中处理分布式作业和消息的队列包
Some difficulties in making web pages
MySQL的意向共享锁、意向排它锁和死锁
Children's programming for comprehensively cultivating students' mental thinking
js数组的索引为何不能用负数
Idea automatically generates serialVersionUID
Easy EDA learning notes 09 esp32-wroom-32e module esp32-devkitc-v4 development board one click download circuit
Anti chicken soup speech
307. 区域和检索 - 数组可修改
QT设计师无法修改窗口大小,无法通过鼠标拖动窗口改变大小的解决方案
回调函数详解
Why does TCP protocol shake hands three times instead of two?
【毕业季·进击的技术er】自己的选择,跪着也要走