Skip to main content
edited tags
Link
Mark Setchell
  • 210.2k
  • 32
  • 309
  • 503
Source Link
cmario
  • 605
  • 1
  • 7
  • 23

Use ffmpeg on OSX Xcode Project for Mac

I am planning to create a new app for personal use on my Mac that uses FFMPEG library, to store a feed from a RTSP IP camera.

Following this official installation procedure from FFMPEG I have manage to successfully achieve the following 2 steps:

To get ffmpeg for OS X, you first have to install ​Homebrew. If you don't want to use Homebrew, see the section below.

Then:

  • brew install automake fdk-aac git lame libass libtool libvorbis libvpx \ opus sdl shtool texi2html theora wget x264 xvid yasm

Question: My question here because I am confused, is how to import a library into Xcode so I can use it in the application I am about to build for my Mac. I can see plenty of GitHub projects related to FFMPEG with IOS/Android, but none for OSX.

All the FFMPEG commands under terminal are working fine, such as converting a video etc.