Home

Rui Loureiro

Welcome.

If you need more info about RL Ingest please download the HTML help files from here.

Some help installing the open source. Some of this stuff is like a "you must have" software. Most of them enables you run unix and linux commands in your mac (like Command Line Tools) and helps you to install them (like Homebrew). So, look this as a really good improvement to your Mac.

Conventions in this manual:

  • "#" refers to a shell command in the terminal. Only the part after the "#" and the space is valid for the command.
  • "?" refers to a informative message, nothing you must do.

BEFORE YOU CONTINUE YOU MUST:

  • Have a internet connection.
  • Have one valid Apple ID to connect to the Apple Developer Site.
  • Do not be afraid of Terminal and write some commands there. If you don't know what the Terminal is comeback later with some friend or try reading some stuff about it in the internet.

YOU MUST AGREE WITH ALL LICENSE AGREEMENTS FOR ALL SOFTWARE REFERRED IN THIS MANUAL.

Here you can find some legal information about FFMPEG: http://ffmpeg.org/legal.html

Here you can find the license info for the BMX libs: https://sourceforge.net/p/bmxlib/home/Home

INSTALLATION

1) Download and install the "Command Line Tools" and "Java Developer Package" from the Apple Developer website (https://developer.apple.com/downloads). You must have a Apple ID in order to connect to the developer website. Be careful to chose the right packages for your system (Lion or Mountain Lion). Follow the installation instructions in the packages installation. Install the XCode too if you want, it's not a requirement.

2) Download and install the XQuartz from the XQuartz site (http://xquartz.macosforge.org/landing/). Follow the instructions in the installation packages.

3) Install Homebrew (http://mxcl.github.com/homebrew/):

  • Open the terminal and run the this (you need internet connection):
    # ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
    

? - If you do not have a internet connection on your machine to install the Homebrew, you must download it and compile it from the sources. Check out the Homebrew installation manual at https://github.com/mxcl/homebrew/wiki/Installation. But you must always have a connection to install the other stuff with Homebrew.

  • Then you must run:

    # brew doctor
    
  • Install pkg-config, automaker, autoconf, libtool with Homebrew;

    # brew install pkg-config
    # brew install automake
    # brew install autoconf
    # brew install libtool
    

4) Install libx264, libmp3lame, libfaac (for ffmpeg):

  • Install this with Homebrew:
    # brew install x264
    # brew install lame
    # brew install faac
    

5) Install libuuid, uriparser, (for bmxlib)

  • Enter this with Homebrew:
    # brew install ossp-uuid
    # brew install uriparser
    

6) Install ffmpeg (this will be take a minute or two):

    # brew install ffmpeg --enable-pthreads --enable-swscale --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid

? - If you want you can confirm the installation of x264 with this command:

    # ffmpeg -codecs | grep H.264

This command must return something like this:

    ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    built on Sep  2 2012 19:54:37 with clang 4.0 ((tags/Apple/clang-421.0.60))
    configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-pthreads --enable-swscale --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
    libavutil      51. 54.100 / 51. 54.100
    libavcodec     54. 23.100 / 54. 23.100
    libavformat    54.  6.100 / 54.  6.100
    libavdevice    54.  0.100 / 54.  0.100
    libavfilter     2. 77.100 /  2. 77.100
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100
    D V D  h264            H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV    libx264         libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV    libx264rgb      libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB

If you see the last lines you have the H.264 codec to encoding and decoding.

6) Now we need to install the BMX libs.

  • Make a folder in your home directory for the sources:

    # mkdir ~/bmx
    # cd ~/bmx
    
  • Download the BMX lib sources at http://sourceforge.net/projects/bmxlib/files/bmx-20120713.zip

  • Copy all the files in the zip to the ~/bmx folder created above.

  • Now, return to your terminal and build the thing (this take a while):

    # cd ~/bmx/libMXF
    # ./autogen.sh && ./configure && make && make check && sudo make install
    # cd ~/bmx/libMXF++
    # ./autogen.sh && ./configure && make && make check && sudo make install
    # cd ~/bmx/bmx
    # ./autogen.sh && ./configure && make && make check && sudo make install
    
  • If everything goes without errors you can test the bmxtranswrap command, try this in the terminal:

    # bmxtranswrap -v
    
  • This return something like this:

    bmxtranswrap, bmx v0.1.2, Sep  3 2012 04:14:03 (scm v0.1.2)
    

6) Now you must configure the RLIngest to the correct paths in the preferences panel. The defaults points to /usr/local/bin but your files can be in /usr/bin or other location. Try to export some files. Good luck!


MongoDB Logo MongoDB