Try FOBS, the C++ & JMF wrapper for ffmpeg.
Omnividea Multimedia and the computer vision group at UPM-DISAM present FOBS: Ffmpeg OBjectS. FOBS is a set of object oriented APIs to deal with media. It relies in the ffmpeg library, but provides developers with a much simpler programming interface.
FOBS is currently available in C++. The Java side (Fobs4JMF) has been implemented as a JMF plugin that allows to use JMStudio as a Java Media Jukebox to play the most common formats and codecs (ogg, mp3, m4a, divx, xvid, h264, mov, avi, etc). Binaries for this enhanced version of JMStudio are available at the downloads section for Windows, Linux and Mac OSX. Developers can use the same binaries to include support for many more formats & codecs into their own JMF applications without changing a line of code!