Home

Awesome

ABANDONED

This project is unmaintained. A <a href="https://github.com/Warblefly/MultimediaTools-mingw-w64">new project with the same aim</a> has taken its place. I have switched my development from a Cygwin platform to a native GNU/Linux box. You can still compile these utilities on Windows by running a GNU/Linux virtual machine from your Windows desktop. <a href="https://www.virtualbox.org/">Try Oracle's Virtualbox</a> for this, among others. Boot Fedora 22 or Debian testing, and you should be ok.

To cross-compile a large collection of multimedia utilities including up-to-date and very feature-complete FFmpeg, OpenDCP, mpv, GraphicsMagick, opendcp, frei0r plugins, etc., please see my other GitHub project <a href="https://github.com/Warblefly/MultimediaTools-mingw-w64">HERE</a> and get the tarball of Windows 64-bit binaries from <a href="http://johnwarburton.net/blog/?p=28459">my blog HERE</a>.

multimediaWin64

Scripts for building open-source multimedia utilities for Win64 from a Cygwin64 installation. Centrepiece is FFmpeg. Includes FFmpeg, sox, MP4Box, raw2bmx and many other BBC MXF utilities and libraries, opusenc, lame, libcdio, exiv2 and many others and their associated libraries. The compiled programs are native Windows 64-bit binaries, and do not require Cygwin libraries.

BACKGROUND

Supporting the cross-compilation of the very versatile FFmpeg utilities under mingw64, Zeranoe and others publish a set of patches and a build script to, first, compile a working mingw64 environment on a POSIX system, then compile a very full FFmpeg and associated libraries and utilities within mingw64 ready for installation on a Windows 64-bit system.

With grateful thanks to Zeranoe and other developers, I have extended this build system for my own purposes. A more comprehensive set of command-line utilities for multimedia work is build on Cygwin64 using my script.

Because this is my own personal build system (Windows 8.1 64-bit with Cygwin64), I have probably severely compromised compatibility with other POSIX-compatible systems e.g. Linux. Restoring this compatibility is a task for the future.

HOW TO

  1. Install Cygwin64. Make sure you have the facility to build programs using a very recent version of the Gnu Compiler Collection. Currently, I use gcc-4.9.0
  2. Checkout the scripts cross_compile_ffmpeg_cygwin64.sh and build.sh
  3. Make sure they are both executable
  4. Run ./build.sh. This launches the other script in a controlled manner that I have tested
  5. Wait quite a long time
  6. Copy binaries from ./sandbox/mingw-w64-x86_64/x86_64-w64-mingw32/bin and other files (e.g. ../doc/) as needed
  7. Enjoy and share
  8. Run the command again to incorporate updates. Only the parts that need rebuilding will be built.

I have tested neither other command lines nor other builds.

THANKS

LICENCE

My script, very much derived from others' work, is released under the GNU Affero GPL Version 3 licence. You will find it at the top of this repository. Please adhere to it.

The version of FFmpeg built here is non-redistributable.