Alchemy would be the way to do it, but it depends on the
particulars of ffmpeg on whether it can be done. In general, if it
can be compiled with gcc without using any platform-specific
libraries, then a program should be convertible with Alchemy.
(That's not to say every conversion will be