I just merged a branch that adds infrastructure to (cross-)compile ffmpeg
and a JNA-based set of Java classes.
Unfortunately, the cross-compilation for MacOSX does not work correctly:
there are Heisenbugs leading to Fiji crashing when initializing FFMPEG's
codecs and/or conversion tables.
Happily, these problems do not occur when compiling on MacOSX itself
(although PowerPC support is missing then; something that was criticized,
uhm, in a rather, uhm, funny way in the past).
So I created an update site just for these plugins and libraries:
http://pacific.mpi-cbg.de/~schindelin/ffmpeg-plugins/
If you want to know how you can add that update site, please have a look
at the documentation Gavin wrote recently:
http://pacific.mpi-cbg.de/How_to_add_a_plugin_distribution_site
How to use the plugins? Easy: File>Import>Movie (FFMPEG)... can read them,
and File>Save As>Movie (FFMPEG)... can write them.
The virtual stack mode is switched on by default when reading the movies,
although it might not work correctly if the information about the length
and/or frame rate is not complete.
To build the plugins, you need a C compiler (and probably a few more tools
such as yasm). The command line is, unsurprisingly:
./Build.sh plugins/FFMPEG_IO.jar
Note that these plugins will never be compiled by default, since they
require native libraries, which is platform-dependent in the common
case, and since the compilation takes quite a while.
Have a nice weekend,
Johannes
On Thu, 2 Jun 2011, Jariullah Safi wrote:
> I can't figure out how to compile this in MinGW. When I type in the
> command you gave in the shell it outputs "./Build.sh: No such file or
> directory"
It is not meant to be compiled with MinGW yet, although it might work
already (but you have to check out fiji.git as per
http://fiji.sc/Developing_Fiji).
However, Build.sh is a shell script, so you have to have a Shell
(preferably msysGit's Bash) running.
Ciao,
Johannes