ffmpeglab's Introduction
ffmpeg实验: 1. 首先下载ffmpeg源代码(tar.xz包)并解压 2. 使用MingwShell对源代码进行编译(实验过Cygwin但是有问题) ./configure sudo make 3. 编译成功后,生成ffmpeg.exe和对应的库文件 4. 在使用ffmpeg库的程序编译时: (1)用C语言编译,而不是C++ (2) 注意编译选项中库文件的顺序。因为库文件之间也是相互依赖的,所以不能随便调换顺序,否则编译会不通过。 gcc -Wall -ggdb main.c -IE:/ffmpeg-3.2/ffmpeg-3.2/ 包含目录 -LE:/cppcmd/ffmpegvideo/ffmpegvideo/lib 库文件目录 -------------------------以下的库文件的加载顺序不能随意调动,否则会造成编译错误 -lavformat -lavdevice -lavcodec -lavutil -lswresample -liconv -lws2_32 网络支持库 -lswscale -lm -pthread -o test.exe
ffmpeglab's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.