quicktime-java

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

Re: convertToFile makes a zero bytes file on one computer Jeremy Wood Tue Sep 09 14:00:57 2008

Hmmm.  First question:

Would some Java-based AVI-writing code work for you?
Werner R wrote some classes just a month or so ago that takes PNGs or JPEGs and makes an AVI:
http://blog.hslu.ch/rawcoder

This has the added benefit that it's pure Java, so it won't disappear in coming years when QTJ is officially deprecated. :)

If there's a good reason to stick with QTJ, then my next question is:
Is it possible the "free" vs "paid" versions have a different info.plist? It sounds like a major environmental change exists in the two copies, and that's the biggest environmental difference there can be...

Regards,
 - Jeremy

On Sep 9, 2008, at 8:35 AM, A O wrote:

ok.  Thank you for responding!  :)

1. The customer is remote, he has 2 copies of the application, a "free" version, and a "paid" version. The free version creates the movie successfully, the paid version breaks on the convertToFile (the same code is in both versions for this section of code - which is the oddest thing)

2. I am converting a Movie Object, created by a set of PNGs, into a standard .avi file ---
         movMovie.convertToFile(null,
             qtfMovieFile2,
                 StdQTConstants.kQTFileTypeMovie,
                 StdQTConstants.kMoviePlayer,
                 IOConstants.smSystemScript,
                 StdQTConstants.movieToFileOnlyExport |
                 StdQTConstants.movieFileSpecValid, // flags
                 exporter);

3. First I build a set of PNGs based on user input. Then I take those PNGs and create a movie object, convert the object to a file and save it.


> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Mon, 8 Sep 2008 17:56:39 -0500
> Subject: Re: convertToFile makes a zero bytes file on one computer
>
> Sorry, I don't recall seeing that one before. Anyone else?
>
> First line of questions include:
> 1. Do you have access to this buggy computer, or is the customer
> remote?
> 2. What are you converting (ex: one MOV codec to another? an AVI to a
> MOV? etc.)?
> 3. And for that matter, how are you making the movie in the first
> place?
>
> - Jeremy
>
> On Sep 7, 2008, at 8:22 AM, A O wrote:
>
> >
> > Hi fellow QTJava developers!
> >
> > Im having a bit of an odd problem - I wrote an application that
> > makes a custom movie on people's computers, and have deployed it
> > successfully on over 50 computers... However, on this one persons
> > computer, the application ALWAYS fails to run the function
> > convertToFile
> >
> > Basically, it produces a zero byte file, while on ALL the other
> > computers it produces the full movie saved to file...
> >
> > the customer does have the latest qtjava installed, and is using a
> > program specific JVM. He also has all of the proper permissions to
> > write to the directory where he is trying to save the file. I just
> > don't know what the problem is!!! Does anyone have any ideas on
> > what I should be looking into? It's just weird that it works 99.9%
> > on all other computers, and on his computer, it doesn't work! Gotta
> > love programming...
> > _________________________________________________________________
> > Stay up to date on your PC, the Web, and your mobile phone with
> > Windows Live.
> > http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/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/jeremy.wood%40mac.com
> >
> > This email sent to [EMAIL PROTECTED]
>
> _______________________________________________
> 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/aotemp%40hotmail.com
>
> This email sent to [EMAIL PROTECTED]

Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now

 _______________________________________________
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]