Bino: free stereoscopic 3D video player (Mac OS X binaries)

Precompiled binaries

Building using MacPorts

Here are instructions that can be used to build Bino with MacPorts. To compile Bino this way, must have administration rights on your Mac, and you have to know how to use MacPorts and the Terminal application.

Setting up MacPorts

Compiling and installing

sudo port install bino +app +openalsoft +qt4nokia +no_x11 +dc1394 +quartz

The +no_x11 and +quartz flags are to installing cairo and pango libs, which FFmpeg and Bino depend on, with Quartz support but without X11; the +dc1394 enables firewire camera support in FFmpeg (and Bino). Add +universal if you want a universal binary, i.e. PPC/i386 on Leopard, or i386/x86_64 on Snow Leopard and Lion, but this will most likely fail. The FFmpeg Portfile has a +no_dirac variant, which is especially useful for building it on platforms which have difficulties building the schoedinger package (Leopard PPC is one of these). Just install ffmpeg with the +no_dirac variant before installing bino (or add the +no_dirac flag to the command-ine above if FFmpeg is not yet installed) : sudo port install ffmpeg +no_dirac +dc1394 +no_x11

The resulting application is installed in /Applications/MacPorts, and it can be redistributed (it doesn't contain links to locally installed libraries or frameworks, and it is redistributable under the GPL v3 license).

The Bino Portfile has the following variants:

Compiling from Bino source distribution

To compile Bino from source against the Qt4 distribution by Nokia and dependencies installed in MacPorts, configure the source using the following command:

$ git clone git://git.savannah.nongnu.org/bino.git

$ cd bino

$ autoreconf -i

$ ./configure --prefix=/opt/local LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include libqtopengl_LIBS="-framework QtCore -framework QtGui -framework QtOpenGL -framework OpenGL" libqtopengl_CFLAGS="-I/Library/Frameworks/QtCore.framework/Headers -I/Library/Frameworks/QtGui.framework/Headers -I/Library/Frameworks/QtOpenGL.framework/Headers" libgl_LIBS="-framework OpenGL" libgl_CFLAGS="-I/Library/Frameworks/OpenGL.framework/Headers"

You can add --enable-debug to add debugging and checking code. On Mac OS X Leopard (10.5), you should also add CC=gcc-4.2 CXX=g++-4.2 because the default compiler (GCC 4.0) doesn't support atomic builtins.

$ make

The command above compiled and links the bino binary, which can be found in src/bino, and if you want to make a standalone and redistributable application, you can use the following command:

$ make package-macosx

The resulting Bino.app is in the currect directory:

$ open Bino.app

The command-line version is hidden inside:

$ ./Bino.app/Contents/MacOS/Bino --help

If you want to compile with Apple OpenAL, you should add to the configure flags: libopenal_LIBS="-framework OpenAL" libopenal_CFLAGS="-F/System/Library/Frameworks"

Building with Equalizer

I still haven't managed to build Bino on the Mac with Equalizer support. Please tell me if you managed to do so.

sudo port install x264 +asm ffmpeg libass openal-soft

sudo port install bino +app +openalsoft +qt4nokia

License

Bino is free software, licensed under the terms of the GNU GPL version 3 or later.


Frederic Devernay

Valid XHTML 1.1! Valid CSS! Level Double-A conformance icon, 
          W3C-WAI Web Content Accessibility Guidelines 1.0