|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.std.comp.ComponentIdentifier | +--quicktime.std.comp.Component | +--quicktime.std.qtcomponents.MovieExporter
Assists in exporting movie data and data conversion operations.
The MovieDataImportComponent implements methods for a corresponding QuickTime
ComponentInstance structure.
refer to Movie Data Exchange in QuickTime
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary | |
MovieExporter(ComponentIdentifier comp)
Given a component identifier it opens the specified component. |
|
MovieExporter(int subType)
Opens the specified movie export component,'spit', with the given subType. |
Method Summary | |
boolean |
doUserDialog(Movie theMovie,
Track onlyThisTrack,
int startTime,
int duration)
Determines the data reference handle for the movie export component. |
int |
getAuxiliaryData(QTHandle dataH)
Determines the data type for the component. |
int |
getCreatorType()
Determines the file type creator for the component. |
int |
getExportFileNameExtension()
Gets the movie export components current FileNameExtension. |
AtomContainer |
getExportSettingsFromAtomContainer()
Retrieves the current settings from the movie export component.. |
java.lang.String |
getExportShortFileTypeString()
No Documentation. |
int |
getExportSourceMediaType()
This routine returns an OSType value through its mediaType parameter, which is interpreted in exactly the same way that the componentManufacturer was previously interpreted. |
void |
setExportSettingsFromAtomContainer(AtomContainer settings)
Sets the movie export componentŐs current configuration from the passed settings data. |
void |
setProgressProc(MovieProgress mp)
This method establishes a MovieProgress object for the MovieExporter that will be called for you by the Movie Toolbox whenever it has to do a lengthy movie export process with this MovieExporter QuickTime::MovieExportSetProgressProc |
void |
setSampleDescription(SampleDescription desc,
int mediaType)
Specifies the SampleDescription and media type for the component. |
void |
toDataRef(DataRef dataRef,
Movie theMovie,
Track onlyThisTrack,
int startTime,
int duration)
Exports the movie's track data to the specified data reference for the movie export component. |
void |
toFile(QTFile theFile,
Movie theMovie,
Track onlyThisTrack,
int startTime,
int duration)
This method is used to export movie data into a file. |
QTHandle |
toHandle(Movie theMovie,
Track onlyThisTrack,
int startTime,
int duration)
Exports the movie's track data into a handle, returning the handle the data is exported too. |
boolean |
validate(Movie theMovie,
Track onlyThisTrack)
Use this method to determine whether the movie or track could be exported by this exporter. |
Methods inherited from class quicktime.std.comp.Component |
count |
Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MovieExporter(int subType) throws QTException
subType
- The movie export component sub typepublic MovieExporter(ComponentIdentifier comp) throws QTException
comp
- the component identifier to openMethod Detail |
public void setProgressProc(MovieProgress mp) throws StdQTException
mp
- the MovieProgress object, or null for no progress objectpublic void toFile(QTFile theFile, Movie theMovie, Track onlyThisTrack, int startTime, int duration) throws QTException
theFile
- the file that is to receive the converted movie datatheMovie
- specifies the movie to export.onlyThisTrack
- Specifies the track used to reference.startTime
- Specifies the start time value of the time base.duration
- Specifies the elapsed time value of the timebase.public QTHandle toHandle(Movie theMovie, Track onlyThisTrack, int startTime, int duration) throws QTException
theMovie
- Specifies the movie.onlyThisTrack
- Specifies the track used to reference.startTime
- Specifies the start time of the time base.duration
- Specifies the time value of the timebase.public void toDataRef(DataRef dataRef, Movie theMovie, Track onlyThisTrack, int startTime, int duration) throws StdQTException
theMovie
- Specifies the movie.usedTrack
- Specifies the track used to reference.tr
- Specifies the start time of the time base.duration
- Specifies the time value of the timebase.public int getAuxiliaryData(QTHandle dataH) throws StdQTException
dataH
- Specifies the data handle.public void setSampleDescription(SampleDescription desc, int mediaType) throws StdQTException
desc
- Specifies the sample description.mediaType
- Specifies the media type.public boolean doUserDialog(Movie theMovie, Track onlyThisTrack, int startTime, int duration) throws StdQTException
theMovie
- Specifies the movie.onlyThisTrack
- Specifies the track used to reference.startTime
- Specifies the start time of the time base.duration
- Specifies the time value of the timebase.public int getCreatorType() throws StdQTException
public boolean validate(Movie theMovie, Track onlyThisTrack) throws StdQTException
theMovie
- the movie for this operation.onlyThisTrack
- identifies a track that is to be converted or null. If supplied the component
will only convert the specified track.public AtomContainer getExportSettingsFromAtomContainer() throws StdQTException
public void setExportSettingsFromAtomContainer(AtomContainer settings) throws StdQTException
Contains
- a QT atom container reference to the settings.public final int getExportFileNameExtension() throws StdQTException
Contains
- a QT atom container reference to the settings.public final java.lang.String getExportShortFileTypeString() throws StdQTException
public final int getExportSourceMediaType() throws StdQTException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |