01.FFmpeg下载以及安装
生活随笔
收集整理的這篇文章主要介紹了
01.FFmpeg下载以及安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
FFmpeg下載及安裝
2022年7月11日
https://ffmpeg.zeranoe.com/builds/ 網站掛了
一、 FFmpeg下載
1.1 windows方法一
https://ffmpeg.org/download.html#build-windows
ffmpeg-4.4.1-full_build.7z 、ffmpeg-4.4.1-full_build-shared.7z 區別:1. ffmpeg-4.4.1-full_build.7z:版本只包含了ffmpeg.exe、ffplay.exe、ffprobe.exe三個可執行程序,沒有頭文件和庫文件。 2. ffmpeg-4.4.1-full_build-shared.7z exe:版本包含了ffmpeg.exe、ffplay.exe、ffprobe.exe三個可執行程序和相關動態庫文件,包含了頭文件和庫文件。
1.2 windows方法二
zeranoe編譯FFmpeg掛了 ,可以訪問 FFmpeg-Builds。
ffmpeg-n4.4-latest-win64-gpl-shared-4.4.zip 目標平臺:win64-
參數說明
Available targets:
- win64 (x86_64 Windows)
- win32 (x86 Windows)
- linux64 (x86_64 Linux, glibc>=2.23, linux>=4.4)
- linuxarm64 (arm64 (aarch64) Linux, glibc>=2.27, linux>=4.15)
The linuxarm64 target will not build some dependencies due to lack of arm64 (aarch64) architecture support or cross-compiling restrictions.
- davs2 and xavs2: aarch64 support is broken.
- libmfx and libva: Library for Intel QSV, so there is no aarch64 support.
Available:
- gpl Includes all dependencies, even those that require full GPL instead of just LGPL.
- lgpl Lacking libraries that are GPL-only. Most prominently libx264 and libx265.
- nonfree Includes fdk-aac in addition to all the dependencies of the gpl variant.
- gpl-shared Same as gpl, but comes with the libav* family of shared libs instead of pure static executables.
- lgpl-shared Same again, but with the lgpl set of dependencies.
- nonfree-shared Same again, but with the nonfree set of dependencies.
All of those can be optionally combined with any combination of addins.
- 4.4 to build from the 4.4 release branch instead of master.
- 5.0 to build from the 5.0 release branch instead of master.
- debug to not strip debug symbols from the binaries. This increases the output size by about 250MB.
1.3 Linux下載安裝
二、 FFmpeg安裝
2.1 windows下安裝
# 解壓后將/bin 文件夾添加系統環境變量 ffmpeg -version2.2 Linux下安裝
三、測試
3.1 FFmpeg安裝目錄
FFmpeg安裝目錄如下,將include和lib文件夾copy 項目文件中;
# FFmpeg 安裝目錄文件結構 ├─bin ├─doc ├─include │ ├─libavcodec │ ├─libavdevice │ ├─libavfilter │ ├─libavformat │ ├─libavutil │ ├─libpostproc │ ├─libswresample │ └─libswscale ├─lib └─presets3.2 新建項目測試
總結
以上是生活随笔為你收集整理的01.FFmpeg下载以及安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ActionBarActivity设置全
- 下一篇: javascript 之作用域-06