Comments (5)
You can use the project in 2012 but not in 2010. FFmpeg requires C99 support which is not available in older versions of Visual Studio.
The default Visual Studio project files found in the repo are for Visual Studio 2013. To use the projects "as is" under Visual Studio you simply need to change the project property "Platform Toolset" found in "Configuration Properties->General" to the version of the toolset you have installed (Visual Studio 2012 is v110). However the default projects also require that all the dependency projects found in the ShiftMediaProject repo have also been built and are available to link against.
If you only want a basic FFmpeg build or simply want to choose which dependencies are linked against then you can use the project_generator project to build an executable that takes standard FFmpeg configure options and will use those to build a new project. The generator will also detect what version of Visual Studio you have installed and will automatically create the correct project files (meaning you do not need to change project properties as in the above step).
Specific details on this can be found at: http://siliconandlithium.blogspot.com.au/2014/01/building-ffmpeg-in-visual-studio.html
from ffmpeg.
Thanks,
but now
compiler think
buildInterDependenciesHelper( {"amovie_filter"} , {"avformat"}, vLibs );
has some syntax error
from ffmpeg.
Thats an issue with incomplete C99 support in older versions of Visual Studio. Current git master has been updated to to use C89 compatible code for the above error. I dont have Visual Studio 2012 or older installed any more so let me know if it builds now.
from ffmpeg.
Thanks a lot. I have build project_generate successfully.
But when I build the project "ffmpeg", more than hundred of syntax errors occur.
Like \libavutil\samplefmt.c(35) \libavutil\rational.c(47) \libavutil\pixdesc.c(145) ..... and more
I guess it is also the C89-to-C99 problem ,too.
I think the best way for me to successfully build the projects is to install the visual studio 2013.
from ffmpeg.
OK. Looks like a minimum of 2013 is required to build FFmpeg.
from ffmpeg.
Related Issues (20)
- simple_idct_wrap.asm and simple_idct10_wrap.asm content HOT 2
- LNK2019 xxx __imp__fribidi_charset_to_unicode,function _shape_text xxx D:\xxx\ffmpeg-debug\source\FFmpeg\SMP\libavfilterd.lib(vf_drawtext.obj)
- Faster process?
- there is no libsrt? HOT 2
- cant build on vs2022 HOT 5
- ffmpeg 7.0 release? HOT 1
- I ****ING LOVE YOU FOR HELP ALL OF US BIULD THIS!!!!!!!!!!!!!!!!!!!!!!!!!!
- when i compile in DebugDLL x64 mode ,it cannot work. HOT 1
- FFmpeg.exe compile failed
- SVTAV1 HOT 2
- ffplay do not support libplacebo? HOT 1
- Add filter "scale_cuda" HOT 8
- Unknown input format: 'dshow' HOT 3
- nvdec and libmfx now seem to depend on winrt and uwp HOT 2
- x265 winrt vs2022 build error HOT 1
- when i use libffmpeg awalys show [-s] [-r rate2] <file1.sw> <file2.sw> HOT 1
- vs2019 debug solution failed。 HOT 4
- Decode AV1 error HOT 7
- build error HOT 3
- vs2019 ffmpeg lib how to build MTd/MT, I modify the project properties C/C++ -> Code generation, changed to MTd/MT, compile ffmpeg, ffplay, ffprobe project error. HOT 2
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.
from ffmpeg.