Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Exporting mov-file with Java/QT for the ipod?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting mov-file with Java/QT for the ipod?



Hello!

I?m writting a exporter which adds a chapter-track to a *.mov movie, and changes the movie matrix!

To save the matrix move i have to export the *.mov file to a new *.mov file, for this i use the Movie Exporter like this:

MovieExporter exporter = new MovieExporter(StdQTConstants.kQTFileTypeMovie);
QTFile expfile = new QTFile(new File("D:/movie.mov"));
expfile.createMovieFile(StdQTConstants.kMoviePlayer, StdQTConstants.createMovieFileDontOpenFile | StdQTConstants.createMovieFileDontCreateResFile);
System.out.println("Exporting");
exporter.toFile(expfile, movie, null, 0, movie.getDuration());



But the exported movie.mov is not working on my Ipod Nano, Itunes won`t even copy it!
Can someone help me with this?Do you know where the problem is?
Will the convertToFile() Method do better?



movie.convertToFile(null, new QTFile("d:/movie.mov"), StdQTConstants.kQTFileTypeMovie, StdQTConstants.kMoviePlayer, IOConstants.smSystemScript, StdQTConstants.showUserSettingsDialog | StdQTConstants.movieToFileOnlyExport | StdQTConstants.createMovieFileDontCreateResFile | StdQTConstants.movieFileSpecValid, exporter);



With this I get the UserSettingsDialog, but unlike in Quicktime Pro i can`t choose "ipod" as export file.........


flatten() doesn`t save the matrix move, so i can?t use it, can anyone help me solving this problem?

greets Yvi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.