First I tried to create a video with a set of images. It works with JMF. But unfortunately there are no codecs for video formats available in FMJ.
Given below are the Media formats supported by FMJ. Even in FMJ forums it is asked to use JMF in places where certain codecs are missing in FMJ.
Pure Java processing and playback
|Container||Format||Decode (D), Encode (E)|
* - encoding only with Java 6+