I have devised a quick little program that captures the screen and puts it in a vector, but my problem is that when I go to save it gives me this error
1 2 3 4 5
| - create processor for the image datasource ... Setting the track format to: JPEG - create DataSink for: C:/Users/Adam/Desktop/Test Video Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@7bb0e64a Failed to create a DataSink for the given output MediaLocator: C:/Users/Adam/Desktop/Test Video |
Here is my code where it saves
1
| conv.doIt(Toolkit.getDefaultToolkit().getScreenSize().width, Toolkit.getDefaultToolkit().getScreenSize().height, 30, imgs, ConvertToMovie.createMediaLocator("C:/Users/Adam/Desktop/Test Video")); |
and conv is the class I am using for the program. I downloaded it off of a tutorial site, so that shouldn't be the problem.
Thanks for your help.