Skip to content

Building under Mac OS X 10.6

Dong Wang edited this page May 16, 2013 · 3 revisions

To successfully build live_segmenter under Mac OS X 10.6 use these simple steps

  1. Use Macports to install ffmpeg-devel, libconfig, lfaad and libsdl:
    sudo port install ffmpeg-devel libconfig libsdl faad2
  2. Alter line 2 of the Makefile to make sure gcc can find the Macports libraries:
    gcc -Wall -I/opt/local/include -L/opt/local/lib -g live_segmenter.c -o live_segmenter -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthread
Clone this wiki locally