Package com.peterphi.carbon.type.mutable
Class CarbonSource
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonModule
com.peterphi.carbon.type.mutable.CarbonSource
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanExamines the ComplexSource.DWD value to determine whether this source is complex (one video and multiple audios)booleanDetermines whether this Source is MultiSource (multiple source files for different data types).voidremoveFilter(String filterName) voidvoidsetFilterGUIDs(List<String> filterGUIDs) Set the filter GUID, replacing any filter that is currently definedvoidsetFullUNCFilename(String path) voidsetInOutPoint(long in, long out) Set the in/out frame points (expressed in timebase of 1/27,000,000)Methods inherited from class com.peterphi.carbon.type.mutable.CarbonModule
getModuleData, getModuleGUID, getOrCreateModuleData, getOrCreateModuleDataElement, getPresetGUID, setModuleGUID, setPresetGUIDMethods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
CarbonSource
public CarbonSource() -
CarbonSource
public CarbonSource(org.jdom2.Element element)
-
-
Method Details
-
isMultiSource
public boolean isMultiSource()Determines whether this Source is MultiSource (multiple source files for different data types). According to the Carbon API:Note: If the MultiSource.DWD attribute is set to 1, only "Filename" is allowed (see 5.2.2.1).
- Returns:
-
isComplexSource
public boolean isComplexSource()Examines the ComplexSource.DWD value to determine whether this source is complex (one video and multiple audios)- Returns:
-
setFullUNCFilename
-
getFullUNCFilename
-
setInOutPoint
public void setInOutPoint(long in, long out) Set the in/out frame points (expressed in timebase of 1/27,000,000)- Parameters:
in-out-
-
getInPoint
-
getOutPoint
-
removeInOutPoint
public void removeInOutPoint() -
setFilterGUIDs
Set the filter GUID, replacing any filter that is currently defined- Parameters:
filterGUIDs-
-
removeFilter
-