I trying to modify SimpleMovieExporter from the "QuickTime for Java:
Developer's Notebook" to not prompt the user for the output file
information. I keep getting fnferr from MovieExporter.toFile when I
pass it a QTFile I create.
saveFile = new QTFile("C:/test.mov") fails. It makes no sense to get
Hi Ron.
You need to specify the path in a platform specific way.
saveFile = new QTFile("C:\\test.mov"); // should do the trick
This is of course provided that you are on a Windows machine
(seems like a good guess). If MacOS X is your current platform
you need to remove the ':' from the file name.
The static String java.io.File.separator is your friend when
you want to construct platform independent path names.
The "C:" part pretty much locks you down to the Windows world
in this case though.