当前位置:网站首页>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]
边栏推荐
猜你喜欢

MySQL Redo log Redo log
![[STL] summary of pair usage](/img/ba/72697f0f8bf018f1b5884e9cc2be4e.png)
[STL] summary of pair usage

为什么TCP协议是三次握手而不是两次?

Linux Installation mysql8.0.25

excel高级绘图技巧100讲(八)-Excel绘制WIFI图

idea自动生成serialVersionUID

WPF command directive and inotifypropertychanged

Business logic design of physical warehouse and virtual warehouse in middle inventory
![[project training] change of linear arrow](/img/a4/7554522c13684d7590d247f28a6965.png)
[project training] change of linear arrow

产品-Axure9(英文版),原型设计后台动态二级菜单显示内容
随机推荐
Why does TCP protocol shake hands three times instead of two?
Badly placed()'s problem
cetos7 记录
Side effects of threads in embedded real-time systems
MySQL function
QT method of compiling projects using multithreading
利用adb 调试设备串口信息的一个小方法
EndNote20使用教程分享(未完
mongodb 记录
反鸡汤致辞
English grammar_ Adjective comparative - Level 3 change
Problem: when the attribute in the data object (defined data) in the access component is also the attribute in the object object, an error is reported
【项目实训】线形组件的细节
【毕业季·进击的技术er】自己的选择,跪着也要走
MySQL重做日志 redo log
js 动态创建a href 循环下载文件只能下载10个或者固定数目的问题
Some difficulties in making web pages
mysql 基础查询
295. 数据流的中位数
315. 计算右侧小于当前元素的个数