Extends
Methods
addClip(videoFilePath, inPoint) → {Num}
add clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
inPoint |
in point |
- Source:
Returns:
- Type
- Num
addClip2(videoFilePath, inPoint, trimIn, trimOut) → {Num}
add clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
inPoint |
in point | |
trimIn |
trim in | |
trimOut |
trim out |
- Source:
Returns:
- Type
- Num
addClipWithSpeed(videoFilePath, inPoint, speed, keepAudioPitch) → {Num}
add clip with speed
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
inPoint |
in point | |
speed |
speed | |
keepAudioPitch |
keep audio pitch |
- Source:
Returns:
- Type
- Num
addClipWithSpeed2(videoFilePath, inPoint, trimIn, trimOut, speed, keepAudioPitch) → {Num}
add clip with speed
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
inPoint |
in point | |
trimIn |
trim in | |
trimOut |
trim out | |
speed |
speed | |
keepAudioPitch |
keep audio pitch |
- Source:
Returns:
- Type
- Num
appendClip(videoFilePath) → {Num}
append clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path |
- Source:
Returns:
- Type
- Num
appendClip2(videoFilePath, trimIn, trimOut) → {Num}
append clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
trimIn |
trim in | |
trimOut |
trim out |
- Source:
Returns:
- Type
- Num
changeInPoint(clipIndex, newInPoint) → {Num}
change in point
Parameters:
| Name | Type | Description |
|---|---|---|
clipIndex |
clip index | |
newInPoint |
new in point |
- Overrides:
- Source:
Returns:
- Type
- Num
changeOutPoint(clipIndex, newOutPoint) → {Num}
change out point
Parameters:
| Name | Type | Description |
|---|---|---|
clipIndex |
clip index | |
newOutPoint |
new out point |
- Overrides:
- Source:
Returns:
- Type
- Num
getClipByIndex(index) → {Num}
get clip by index
Parameters:
| Name | Type | Description |
|---|---|---|
index |
index |
- Source:
Returns:
- Type
- Num
getClipByTimelinePosition(timelinePos) → {Num}
get clip by timeline position
Parameters:
| Name | Type | Description |
|---|---|---|
timelinePos |
timeline position |
- Source:
Returns:
- Type
- Num
getClipCount() → {Num}
get count of clip
- Overrides:
- Source:
Returns:
- Type
- Num
getDuration() → {Num}
get duration
- Overrides:
- Source:
Returns:
- Type
- Num
getIndex() → {Num}
get track index
- Overrides:
- Source:
Returns:
- Type
- Num
getInternalObject() → {Num}
get internal object
- Overrides:
- Source:
Returns:
- Type
- Num
getTemplateAttachment(key) → {Num}
get template attachment according key
Parameters:
| Name | Type | Description |
|---|---|---|
key |
key |
- Overrides:
- Source:
Returns:
- Type
- Num
getTransitionBySourceClipIndex(srcClipIndex) → {Num}
get transition by source clip index
Parameters:
| Name | Type | Description |
|---|---|---|
srcClipIndex |
source clip index |
- Source:
Returns:
- Type
- Num
getType() → {Num}
get type
- Overrides:
- Source:
Returns:
- Type
- Num
getVolumeGain() → {Num}
get volume gain
- Overrides:
- Source:
Returns:
- Type
- Num
insertClip(videoFilePath, insertPoint) → {Num}
insert clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
insertPoint |
insert point |
- Source:
Returns:
- Type
- Num
insertClip2(videoFilePath, trimIn, trimOut, insertPoint) → {Num}
insert clip
Parameters:
| Name | Type | Description |
|---|---|---|
videoFilePath |
video file path | |
trimIn |
trim In | |
trimOut |
trim Out | |
insertPoint |
insert point |
- Source:
Returns:
- Type
- Num
isAvailableInTheme() → {Num}
available in theme or not
- Source:
Returns:
- Type
- Num
moveClip(sourceClipIndex, targetClipIndex) → {Num}
move clip
Parameters:
| Name | Type | Description |
|---|---|---|
sourceClipIndex |
source clip index | |
targetClipIndex |
target clip index |
- Overrides:
- Source:
Returns:
- Type
- Num
moveClipByPosition(sourceClipIndex, targetTimelinePos, isInsertTarget, keepSpace) → {Num}
move clip according position
Parameters:
| Name | Type | Description |
|---|---|---|
sourceClipIndex |
source clip index | |
targetTimelinePos |
target timeline position | |
isInsertTarget |
insert target or not | |
keepSpace |
keep space |
- Overrides:
- Source:
Returns:
- Type
- Num
removeAllClips() → {Num}
remove all clips
- Overrides:
- Source:
Returns:
- Type
- Num
removeClip(clipIndex, keepSpace) → {Num}
remove clip
Parameters:
| Name | Type | Description |
|---|---|---|
clipIndex |
clip index | |
keepSpace |
keep space |
- Overrides:
- Source:
Returns:
- Type
- Num
removeRange(startTimelinePos, endTimelinePos, keepSpace) → {Num}
remove range
Parameters:
| Name | Type | Description |
|---|---|---|
startTimelinePos |
start point position of timeline | |
endTimelinePos |
end point position of timeline | |
keepSpace |
keep space |
- Overrides:
- Source:
Returns:
- Type
- Num
setAvailableInTheme(available) → {Num}
set available in theme
Parameters:
| Name | Type | Description |
|---|---|---|
available |
available or not |
- Source:
Returns:
- Type
- Num
setBuiltinTransition(srcClipIndex, transitionName) → {Num}
set builtin transition
Parameters:
| Name | Type | Description |
|---|---|---|
srcClipIndex |
source clip index | |
transitionName |
transition name |
- Source:
Returns:
- Type
- Num
setInternalObject(obj)
set internal object
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
internal object |
- Overrides:
- Source:
Returns:
setPackagedTransition(srcClipIndex, packageId) → {Num}
set packaged transition
Parameters:
| Name | Type | Description |
|---|---|---|
srcClipIndex |
source clip index | |
packageId |
package id |
- Source:
Returns:
- Type
- Num
setTemplateAttachment(key, value)
get template attachment
Parameters:
| Name | Type | Description |
|---|---|---|
key |
key | |
value |
value |
- Overrides:
- Source:
Returns:
setVolumeGain(leftVolumeGain, rightVolumeGain) → {Num}
set volume gain
Parameters:
| Name | Type | Description |
|---|---|---|
leftVolumeGain |
left volume gain | |
rightVolumeGain |
right volume gain |
- Overrides:
- Source:
Returns:
- Type
- Num
splitClip(clipIndex, splitPoint) → {Num}
split clip
Parameters:
| Name | Type | Description |
|---|---|---|
clipIndex |
clip index | |
splitPoint |
split point |
- Overrides:
- Source:
Returns:
- Type
- Num