woonizzooni

macOS ffmpeg 설치 본문

FFmpeg

macOS ffmpeg 설치

woonizzooni 2020. 1. 27. 20:18

 

[출처]

https://trac.ffmpeg.org/wiki/CompilationGuide/macOS

 

1. ffmpeg through Homebrew

2. Compiling FFmpeg yourself

 

이상 2가지 방식을 안내해주고 있는데,

맥에서 ffmpeg, ffprobe등의 바이너리 실행파일을 직접 사용할 것이므로 homebrew로 설치하는 방법만 다룬다.

(homebrew설치하는방법은 제외)

 

+ default옵션으로는 aac인코더가 누락되어 있어서 포함시키는 옵션을 사용할것임.

 

$ brew tap homebrew-ffmpeg/ffmpeg

$ brew options homebrew-ffmpeg/ffmpeg/ffmpeg

--with-chromaprint
	Enable the Chromaprint audio fingerprinting library
--with-decklink
	Enable DeckLink support
--with-fdk-aac
	Enable the Fraunhofer FDK AAC library
--with-game-music-emu
	Build with game-music-emu support
--with-libbluray
	Build with libbluray support
--with-libbs2b
	Build with libbs2b support
--with-libcaca
	Build with libcaca support
--with-libgsm
	Build with libgsm support
--with-libmodplug
	Build with libmodplug support
--with-librsvg
	Enable SVG files as inputs via librsvg
--with-libsoxr
	Enable the soxr resample library
--with-libssh
	Enable SFTP protocol via libssh
--with-libvidstab
	Enable vid.stab support for video stabilization
--with-libvmaf
	Enable libvmaf scoring library
--with-libxml2
	Enable libxml2 library
--with-opencore-amr
	Enable Opencore AMR NR/WB audio format
--with-openh264
	Enable OpenH264 library
--with-openjpeg
	Enable JPEG 2000 image format
--with-openssl
	Enable SSL support
--with-openssl@1.1
	Build with openssl@1.1 support
--with-rtmpdump
	Build with rtmpdump support
--with-rubberband
	Enable rubberband library
--with-speex
	Build with speex support
--with-srt
	Enable SRT library
--with-tesseract
	Enable the tesseract OCR engine
--with-two-lame
	Build with two-lame support
--with-wavpack
	Build with wavpack support
--with-webp
	Enable using libwebp to encode WEBP images
--with-xvid
	Build with xvid support
--with-zeromq
	Enable using libzeromq to receive cmds sent through a libzeromq client
--with-zimg
	Enable z.lib zimg library
--HEAD
	Install HEAD version

 

$ brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac

 

** 원하면 옵션 다 포함시켜서 진행하면 됨 **

 

 

 

Comments