The goal is to build the FFmpeg with CMake.
This project is under-development.
- Make it buildable with CMake.
- However, there are the following restrictions.
- Only one configuration.
- Only one platform. (macOS)
- However, there are the following restrictions.
- Support some configurations via CMake
include
command.- CC_IDENT
- FFMPEG_CONFIGURATION
- CONFIG_THIS_YEAR
- (Other)
- Support some libraries.
- libx264
- libx265
- libvpx
- Support Linux/Windows.
- 🕐 Install the following tools.
- 🕑 Clone && Change Directory
git clone https://github.com/cthirase/cmake-FFmpeg.git
cd cmake-FFmpeg
- 🕒 [Linux/macOS only] Grant execute permission.
chmod +x build_all.sh
- 🕓 Build
- [Linux/macOS]
python3 build_all.py
- [Windows]
py build_all.bat
(UNDERDEVELOPMENT)
- [Linux/macOS]
The build_all
script download the following project sources.
- FFmpeg
git clone
- LAME
- Linux
wget http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz
- macOS
curl -L http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz -o lame-3.100.tar.gz
- Linux
- See LICENSE.
FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.
- See FFmpeg/LICENSE
CMake is distributed under the OSI-approved BSD 3-clause License. Please see its Copyright.txt for details. The CMake source tree also contains some third-party components with compatible licenses.
Yasm is a complete rewrite of the NASM assembler under the “new” BSD License (some portions are under other licenses, see COPYING for details).
- See Yasm