[FFmpeg-devel] Converting build to CMake

Gonzalo Garramuño ggarra13 at gmail.com
Mon Aug 29 02:31:12 EEST 2022


On 28/8/22 20:17, Jaime Rios wrote:
> Sorry if this has been asked before in the past.
>
> I am wondering if there has been any conversation around changing the
> current build setup of ffmpeg to CMake.
>
> The reason I ask is that I am not a fan of having to install MinGW just to
> build on Windows, and my experience so far with CMake has been a pleasant
> one, when having to build on multiple platforms (Windows/Linux/macOS).
>
> If there has been conversation about moving to CMake, where can I find the
> thread?

I would love that to happen myself too.  The main issue is all the 
dependencies that ffmpeg has to take care of. You need to have 
FindLib*.cmake and/or BuldLib*cmake, plus you need to take care of which 
libraries are open source, BSD, GPL, etc. and whether you need to locate 
them with pkgconfig.

It is overall a lot of work, so something would need to get paid to do 
so fulltime.

I have to wonder, as I only have Windows 8.1 so far, doesn't Windows 10 
WSL2 solve the compilation issues by having the lib be compiled on an 
Ubuntu distro?

-- 
Gonzalo Garramuño
ggarra13 at gmail.com



More information about the ffmpeg-devel mailing list