Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MovieExporter doUserDialog without Movie?



Hi,

MovieExporter.doUserDialog requires a Movie object.  Is there a way to run
doUserDialog without opening a Movie file?  That is, can I create a Movie
object suitable for doUserDialog without opening a Movie file?

Why?

I'm saving custom MovieExporter settings to files, so that users won't
need to understand settings.  The users are ethnographers who need to
convert video into different formats for study, but who themselves aren't
neccessarily savvy about video settings.  I've written a little converter
program for the users, which prompts them to choose from a list of settings
files.  (By the way, thanks all for your help understanding settings.)

I've written a little program to allow me to read in a settings file,
modify the settings for a user, and save them out again.  doUserDialog
requires a Movie object, which isn't a problem, but seems unneccessary,
since I'm not exporting a Movie, but just modifying settings.

I tried creating an empty Movie

    Movie movie = new Movie(StdQTConstants.kQTFileTypeMovie)
    ac = AtomContainer.fromQTHandle(new QTHandle(inbuf))
    exporter.setExportSettingsFromAtomContainer(ac)
    exporter.doUserDialog(movie, null, 0, movie.getDuration()

which almost works.  doUserDialog opens and I can see the settings,
but they are greyed and I can't change them.

I feel as if I should be able to create a dummy Movie in memory only,
which will work with doUserDialog, but I'm missing something.

Thanks,

Ron Stanonik
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

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 © 2007 Apple Inc. All rights reserved.