Class XuggleMovieVideoType
java.lang.Object
org.opensourcephysics.media.mov.MovieVideoType
org.opensourcephysics.media.xuggle.XuggleMovieVideoType
- All Implemented Interfaces:
- VideoType
This implements the VideoType interface with a Xuggle or JS type.
- Version:
- 1.0
- Author:
- Douglas Brown
- 
Field SummaryFields inherited from class org.opensourcephysics.media.mov.MovieVideoTypemovieFileFilters, recordable, singleTypeFilterFields inherited from interface org.opensourcephysics.media.core.VideoTypeTYPE_GIF, TYPE_IMAGE
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor attempts to load a movie class the first time used.XuggleMovieVideoType(VideoFileFilter filter) Constructor with a file filter for a specific container type.
- 
Method SummaryModifier and TypeMethodDescriptionGets the name and/or description of this type.Gets a Xuggle video recorder.Gets the short name of the video type.getVideo(String name, String basePath, XMLControl control) Create a Video object from a file drop, file open, or TRK or TRZ file.booleanReturn true if the specified video is this type.static voidregister()toString()Methods inherited from class org.opensourcephysics.media.mov.MovieVideoTypecanRecord, getDefaultExtension, getDefaultFileFilter, getFileFilters, setRecordableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensourcephysics.media.core.VideoType_toString, accepts, getVideo, getVideoControlForExportOnly
- 
Constructor Details- 
XuggleMovieVideoTypepublic XuggleMovieVideoType()Constructor attempts to load a movie class the first time used. This will throw an error if movies are not available.
- 
XuggleMovieVideoTypeConstructor with a file filter for a specific container type.- Parameters:
- filter- the file filter
 
 
- 
- 
Method Details- 
registerpublic static void register()
- 
getDescriptionGets the name and/or description of this type.- Specified by:
- getDescriptionin interface- VideoType
- Overrides:
- getDescriptionin class- MovieVideoType
- Returns:
- a description
 
- 
isTypeReturn true if the specified video is this type.- Parameters:
- video- the video
- Returns:
- true if the video is this type
 
- 
getVideoDescription copied from interface:VideoTypeCreate a Video object from a file drop, file open, or TRK or TRZ file. Also called with non-null basePath from ExportZipDialog.Export.modifyControlForClip- Returns:
 
- 
getRecorderGets a Xuggle video recorder.- Returns:
- the video recorder
 
- 
getTypeNameDescription copied from interface:VideoTypeGets the short name of the video type.- Returns:
- the type name
 
- 
toString
 
-