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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Examines the ComplexSource.DWD value to determine whether this source is complex (one video and multiple audios)boolean
Determines whether this Source is MultiSource (multiple source files for different data types).void
removeFilter
(String filterName) void
void
setFilterGUIDs
(List<String> filterGUIDs) Set the filter GUID, replacing any filter that is currently definedvoid
setFullUNCFilename
(String path) void
setInOutPoint
(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, setPresetGUID
Methods 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
-