Mark McKay wrote: > > Recently, my boss has asked me to create some AVI style movies from > screen captures of a Java3D application I've developed. I've figured > out how to capture BufferedImages at the right moments, but am unsure > how to write these to disk in an AVI or MPEG format. The docs on > java.com are very difficult to learn from and not much help at all. Is > there someone who could point me to a simple applicaiton that takes a > series of BufferedImages and writes a file to disk with them?
See the JPEG to movie sample on the JMF Solutions page: http://java.sun.com/products/java-media/jmf/2.1.1/solutions That will show you how to create an AVI or QuickTime file. MPEG is not a supported output format, so you'll have to transcode from an avi or mov file using something like tmpgenc. Note that there is a bug in the sample - it neglects to set a time stamp on the output buffer which causes a bad avi to be created. Check the jmf-interest list archive for more details.
--------------------------------------------------------------------- Kevin Weiner FM Software 610-997-3930 http://www.fmsware.com
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
