These files are also available on SourceForge.
Version 0.6.20101210 is the last version that doesn't use OpenGL Shaders - try this one if you have a MacBook (pre-10/2007), Mac Mini or iMac (pre 03/2009) with an Intel GMA950 graphics chipset, or if Bino 1.6.6 or 1.4.4 cannot play your video even with quality set to zero. Please note that color rendering is not 100% exact in this version.
On OS X 10.7 and later, you may get the message "Bino has not been signed by a recognized distributor and may damage your computer. You should move it to the trash".
The macOS binaries we provide are not signed with an Apple Developer ID, because of incompatibilities between the Apple code signing tools and the target OS (Mac OS X 10.6) we use, and because Apple asks developers to pay an annual fee to get an Apple Developer ID.
There are at least four options to launch Bino on macOS:
spctl --add /Applications/Bino.app
, as explained in this OSXDaily article.File->Open files..
(you should get a dialog window which tells you you can open multiple files).
In the file selection dialog, select the mkv and the srt with cmd-click. Select the subtitle track in the main bino interface.
Note that you cannot open multiple files with Bino from the Finder (right click -> Open with...) due to a Qt bug/limitation on the mac.Here are instructions that can be used to build Bino with MacPorts (HomeBrew instructions are below). 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.
chmod 755 /Users/USER_NAME/Development/dports-dev
"sudo -u nobody ls /Users/USER_NAME/Development/dports-dev
". If it fails, then try again after having given execution permissions on your home directory using the following command: "chmod o+x /Users/USER_NAME
". If this still fails, then something is really wrong.sudo nano /opt/local/etc/macports/sources.conf
", insert at the beginning of the file the configuration for a local repository (read the comments in the file), by inserting the line "file:///Users/USER_NAME/Development/dports-dev
" (without quotes, and yes there are 3 slashes). Save and exit (if you're using nano, this means typing ctrl-X, Y and return).sudo port selfupdate
"cd /Users/USER_NAME/Development/dports-dev; portindex
" (no need to be root for this)sudo port install bino +app +openalsoft -x11 +libdc1394 +quartz
The +no_x11 and +quartz flags are used for 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 (OS X Lion and later versions only run on 64-bits machines, so a universal port would be useless on these).
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:
+app
build a standalone application rather than a command-line tool+openalsoft
compile against the OpenAL-soft port to MacOSX, which enables multi-channel audio extensions+debug
enable debugging codeTo compile Bino from source using MacPorts, first install the required dependencies (add the +universal
argument on 10.5 or 10.6 if you intend to build a universal binary):
$ sudo port install texinfo
$ sudo port install libsndfile +no_external_libs
$ sudo port install pulseaudio +minimal
$ sudo port install ffmpeg +libdc1394 -x11
(the )x11 flags prevents SDL from installing all the X11 libraries which are not needed)
$ sudo port install glew
$ sudo port install libass
$ sudo port install qt4-mac
Change to the directory where you want to put the bino sources, and checkout and configure the source using the following commands:
$ 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 -framework IOKit" libgl_CFLAGS="-I/Library/Frameworks/OpenGL.framework/Headers"
Or if you are compiling against qt4-mac installed by MacPorts with the +framework variant (preferred configuration on Mac OS X 10.5 and 10.6):
$ ./configure --prefix=/opt/local LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include libqtopengl_LIBS="-F/opt/local/Library/Frameworks -framework QtCore -framework QtGui -framework QtOpenGL -framework OpenGL" libqtopengl_CFLAGS="-F/opt/local/Library/Frameworks -I/opt/local/Library/Frameworks/QtCore.framework/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Headers" libgl_LIBS="-framework OpenGL -framework IOKit" libgl_CFLAGS="-I/Library/Frameworks/OpenGL.framework/Headers"
You can add --enable-debug
to add debugging and checking code.
To build a "universal" binary, which is really only useful on 10.5 (on which universal means i386/PPC) and 10.6 (i386/x86_64), you should add to the configure
command like above the argument CXXFLAGS="-arch i386 -arch ppc"
on 10.5, or CXXFLAGS="-arch i386 -arch x86_64"
on 10.6. Note that all the MacPorts dependencies must also be installed with the +universal
variant.
On Mac OS X Leopard (10.5), you should also add at the end of the configure
command line CC=gcc-4.2 CXX=g++-4.2
, because the system default compiler (GCC 4.0) doesn't support atomic builtins.
$ make
The command above compiles 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
Check that the resulting binary is standalone: it should not point to libraries in /opt/local:
$ otool -L Bino.app/Contents/MacOS/Bino
The resulting Bino.app is in the currect directory:
$ open Bino.app
The command-line version is hidden inside:
$ ./Bino.app/Contents/MacOS/Bino
If lanching the application doesn't work, and launching the command-line version complains about a missing qt_menu.nib (it happens when compiling against the non-framework version of qt4-mac), copy the nib:
$ cp -r /opt/local/lib/Resources/qt_menu.nib ./Bino.app/Contents/Resources
If you want to compile with Apple OpenAL (for which Bino does not support multichannel audio), you should add to the configure flags: libopenal_LIBS="-framework OpenAL" libopenal_CFLAGS="-F/System/Library/Frameworks"
As explained on the HomeBrew homepage, paste that at a Terminal prompt:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
To compile Bino from source using HomeBrew, first install the required dependencies:
$ brew install texinfo ffmpeg glew libass qt4 openal-soft gettext
Change to the directory where you want to put the bino sources, and checkout and configure the source using the following commands:
$ git clone git://git.savannah.nongnu.org/bino.git
$ cd bino
$ mkdir m4
$ autoreconf -i -I /usr/local/Cellar/gettext/*/share/aclocal
$ ./configure --prefix=/usr/local LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include libqtopengl_LIBS="-F/usr/local/lib -framework QtCore -framework QtGui -framework QtOpenGL -framework OpenGL -framework CoreFoundation" libqtopengl_CFLAGS="-F/usr/local/lib -I/usr/local/lib/QtCore.framework/Headers -I/usr/local/lib/QtGui.framework/Headers -I/usr/local/lib/QtOpenGL.framework/Headers" libgl_LIBS="-framework OpenGL -framework IOKit" libgl_CFLAGS="-I/Library/Frameworks/OpenGL.framework/Headers"
You can add --enable-debug
to add debugging and checking code.
$ make
The command above compiles 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
Check that the resulting binary is standalone: it should not point to libraries in /usr/local:
$ otool -L Bino.app/Contents/MacOS/Bino
The resulting Bino.app is in the currect directory:
$ open Bino.app
The command-line version is hidden inside:
$ ./Bino.app/Contents/MacOS/Bino
If lanching the application doesn't work, and launching the command-line version complains about a missing qt_menu.nib, copy the nib:
$ cp -r /usr/local/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib ./Bino.app/Contents/Resources
If you want to compile with Apple OpenAL (for which Bino does not support multichannel audio), you should add to the configure flags: libopenal_LIBS="-framework OpenAL" libopenal_CFLAGS="-F/System/Library/Frameworks"
Bino is free software, licensed under the terms of the GNU GPL version 3 or later.