quicktime-java

[Prev] Thread [Next]  |  [Prev] Date [Next]

stalls out on createmoviefile A O Wed Sep 03 00:00:44 2008

hi fellow qt developers!

I have a bit of a problem, and it's a really annoying one (like usual)

basically I have created a pc and a macintosh version of the same application, 
and of course it works on pc, but not yet dependable on mac.

What I am doing is making a short movie with text being displayed.  Producing a 
set of png images, and putting them together (no problems) and putting them 
together into a movie.  I dont know what it is, but when my code is running on 
mac it tends to stall out in places within the code.  Only rarely actually 
completing the entire code, resulting in a movie.

So the question is...  what can I do to "createMovieFile" - see below

          //delete file that we will save to, if it exists.
          deleteFile(filSaveFile);
          
          QTFile qtfMovieFile1 = new QTFile ("temp_deleteme");
          QTFile qtfMovieFile2 = new QTFile(filSaveFile);
          qtfMovieFile2.createNewFile();
          
          try {              
              QTSession.open();
              
              int iFileType = StdQTConstants.kQTFileTypeAVI;
              
              // create new movie  -- STALLS OUT HERE
              Movie movMovie = Movie.createMovieFile(qtfMovieFile1,
                                  iFileType,//MoviePlayer,
                                StdQTConstants.createMovieFileDeleteCurFile |
                                
StdQTConstants.createMovieFileDontCreateResFile);
            


      
_________________________________________________________________
Get thousands of games on your PC, your mobile phone, and the web with Windows®.
http://clk.atdmt.com/MRT/go/108588800/direct/01/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]