Video clip, description of video file. The video clip source can be video or image. Each video clip can modify its trim in point, trim out point and playback speed, and can also set panning and scanning. When editing a video, you can add or insert multiple video effects according to different types of effects (built-in effects, wrapped effects, beauty effects). When adding resource pack effects, you have to install them first. After the installation is successful, you can use them only by obtaining the packageid, while builtin only needs to obtain the name of the effect.
More...
|
| constructor () |
|
| appendAudioFx (fxName) |
| Adds an audio effect to the end of the video clip. More...
|
|
| insertAudioFx (fxName, fxIndex) |
| Inserts an audio effect at the specified effect index on the video clip. More...
|
|
| removeAudioFx (fxIndex) |
| Removes audio effect by index,The subsequent audioFx index moves forward. More...
|
|
| getAudioFxByIndex (fxIndex) |
| Gets audio effect by index. More...
|
|
| getAudioFxCount () |
| Gets the number of audio effects on the video clip. Note: The effect index on the clip starts from 0. More...
|
|
| appendBuiltinFx (fxName) |
| Appends built-in effect to clips. More...
|
|
| insertBuiltinFx (fxName, fxIndex) |
| Inserts a built-in effect at the specified effect index on the clip. More...
|
|
| appendPackagedFx (fxPackageId) |
| Appends package effect to the clip. More...
|
|
| insertPackagedFx (fxPackageId, fxIndex) |
| Inserts package effect at the specified effect index on the clip. More...
|
|
| removeFx (fxIndex) |
| Remove effect by index. More...
|
|
| removeAllAudioFx () |
| Removes all audio effects. More...
|
|
| removeAllVideoFx () |
| Removes all video effects. More...
|
|
| removeAllFx () |
| Removes all effects. More...
|
|
| getFxByIndex (fxIndex) |
| Gets special effect by index. More...
|
|
| appendRawBuiltinFx (fxName) |
| Appends built-in effect on the raw input to clips. More...
|
|
| insertRawBuiltinFx (fxName, fxIndex) |
| Inserts a built-in effect at the specified effect index on the raw input on the clip. More...
|
|
| appendRawPackagedFx (fxPackageId) |
| Appends package effect on the raw input to the clip. More...
|
|
| insertRawPackagedFx (fxPackageId, fxIndex) |
| Inserts package effect at the specified effect index on the raw input on the clip. More...
|
|
| removeRawFx (fxIndex) |
| Remove effect by index on the raw input. More...
|
|
| getRawFxCount () |
| Gets the number of effects on the raw input on the clip. Note: The effect index on the clip starts from 0. More...
|
|
| getRawFxByIndex (fxIndex) |
| Gets special effect by index on the raw input. More...
|
|
| getVideoType () |
| Gets clip type. More...
|
|
| getRoleInTheme () |
| Gets the role of the clip in the theme. More...
|
|
| setPlayInReverse (playInReverse) |
| Sets whether the clip is reversed. More...
|
|
| getPlayInReverse () |
| Gets whether the clip is reversed. More...
|
|
| setExtraVideoRotation (rotation) |
| Sets the video's extra rotation angle. More...
|
|
| getExtraVideoRotation () |
| Gets the video's extra rotation angle. More...
|
|
| setPanAndScan (pan, scan) |
| Sets pan and scan.The pan and scan functions are used to adapt the position and size of the image on the display window. More...
|
|
| getPanAndScan () |
| Gets pan and scan. More...
|
|
| setSourceBackgroundMode (mode) |
| Sets background mode, Background Mode (ClIP_BACKGROUNDMODE). More...
|
|
| getSourceBackgroundMode () |
| Gets background mode. More...
|
|
| setSourceBackgroundColor (color) |
| Sets the background color. More...
|
|
| getSourceBackgroundColor () |
| Gets the background color. More...
|
|
| setImageMotionMode (mode) |
| Sets image mode of operation. More...
|
|
| getImageMotionMode () |
| Gets image clip operation mode. More...
|
|
| setImageMotionAnimationEnabled (enabled) |
| Sets whether to support image animation. More...
|
|
| isImageMotionAnimationEnabled () |
| enable image animation of motion or not More...
|
|
| setClipWrapMode (wrapMode) |
| Sets the clip's loop mode. More...
|
|
| getClipWrapMode () |
| Gets video loop mode. More...
|
|
| disableAudioStreams (disabled) |
| Disable audio streams. More...
|
|
| isAudioStreamsDisabled () |
| Is audio streams disabled. More...
|
|
| enableClipFreezeFrame (enabled) |
| Sets the clip's hdr enable status. More...
|
|
| isClipFreezeFrameEnabled () |
| Gets video freeze frame enabled. More...
|
|
| setClipFreezeFrameTrimPosition (trimPos) |
| Sets the clip's freeze trim position. More...
|
|
| getClipFreezeFrameTrimPosition () |
| Gets video freeze trim position(in microseconds). More...
|
|
| getPropertyVideoFx () |
| Gets the property effect of the video clip. More...
|
|
| enablePropertyVideoFx (enabled) |
| Turn on special effect rendering based on the original scale of the video clip. More...
|
|
| isPropertyVideoFxEnabled () |
| Gets whether the original scale rendering mode is turned on. More...
|
|
| setBlendingMode (mode) |
| Set blending mode to video Clip. More...
|
|
| getBlendingMode () |
| Get blending mode from video Clip. More...
|
|
| setImageMotionROI (startROI, endROI) |
| Sets clip's dynamic move ROI. More...
|
|
| getStartROI () |
| Gets the image clip's starting ROI. More...
|
|
| getEndROI () |
| Gets image clip's terminating ROI. More...
|
|
| setRefImageFillMode (mode) |
| Sets reference image fill mode. More...
|
|
| getRefImageFillMode () |
| Gets reference image fill mode. More...
|
|
| setRefImageSize (width, height) |
| Sets reference image size. More...
|
|
| getRefImageSize () |
| Gets reference image size. More...
|
|
| setRefImageBackgroundColor (color) |
| Sets reference image background color. More...
|
|
| getRefImageBackgroundColor () |
| Gets reference image background color. More...
|
|
| setRefImageBackgroundBlurRadius (radius) |
| Sets reference image background blur radius. More...
|
|
| getRefImageBackgroundBlurRadius () |
| Gets reference image background blur radius. More...
|
|
| enableRawSourceMode (enable) |
| Enable raw source mode of the video clip. If raw source mode is enabled, SetPanAndScan, GetPanAndScan, DisableAmbiguousCrop, IsAmbiguousCropDisabled, SetImageMotionMode, ImageMotionMode, SetImageMotionROI, GetImageMotionROI, SetImageMotionAnimationEnabled, IsImageMotionAnimationEnabled, SetImageMaskROI and GetImageMaskROI are invalid. If property fx enabled, the parameters related are invalid also. More...
|
|
| isRawSourceModeEnabled () |
| Raw source mode is enabled or not. More...
|
|
| getFirstCaption () |
| Get the first caption on video clip. More...
|
|
| getLastCaption () |
| Get the last caption on video clip. More...
|
|
| getPrevCaption (caption) |
| Get the previous caption of the current caption on video clip. More...
|
|
| getNextCaption (caption) |
| Get the next caption of the current caption on video clip. More...
|
|
| getCaptionsByClipTimePosition (clipTimePos) |
| Get a list of captions based on the position on video clip. More...
|
|
| addCaption (captionText, inPoint, duration, captionStylePackageId, isPanoramic) |
| Add a caption on video clip. More...
|
|
| addModularCaption (captionText, inPoint, duration) |
| add modular caption More...
|
|
| removeCaption (caption) |
| Remove the caption on video clip. More...
|
|
| getFirstCompoundCaption () |
| Get the first compound caption on video clip. More...
|
|
| getLastCompoundCaption () |
| Get the last compound caption on video clip. More...
|
|
| getPrevCompoundCaption (caption) |
| Get the previous compound caption of the current compound caption on video clip. More...
|
|
| getNextCompoundCaption (caption) |
| Get the next compound caption of the current caption on video clip. More...
|
|
| getCompoundCaptionsByClipTimePosition (clipTimePos) |
| Get a list of compound captions based on the position on video clip. More...
|
|
| addCompoundCaption (inPoint, duration, compoundCaptionPackageId) |
| add compound caption More...
|
|
| removeCompoundCaption (caption) |
| Remove compound caption from video clip. More...
|
|
| getFirstAnimatedSticker () |
| Get the first animated sticker on video clip. More...
|
|
| getLastAnimatedSticker () |
| Get the last animated sticker on video clip. More...
|
|
| getPrevAnimatedSticker (animatedSticker) |
| Get the previous animated sticker of the current animated sticker of video clip. More...
|
|
| getNextAnimatedSticker (animatedSticker) |
| Get the next animated sticker of the current animated sticker of video clip. More...
|
|
| getAnimatedStickersByClipTimePosition (clipTimePos) |
| Get an animated sticker list based on the position on video clip. More...
|
|
| addAnimatedSticker (inPoint, duration, animatedStickerPackageId, isPanoramic, isCustom, customImagePath) |
| add animated sticker More...
|
|
| removeAnimatedSticker (animatedSticker) |
| Remove an animated sticker on video clip. More...
|
|
| setRawFilterProcessesMode (mode) |
| Set raw filter processing mode. More...
|
|
| getRawFilterProcessesMode () |
| Get raw filter processing mode. More...
|
|
| constructor () |
|
| getTrimIn () |
| Gets the trim in point of the clip. More...
|
|
| getTrimOut () |
| Gets the trim out point of the clip. More...
|
|
| moveTrimPoint (offset) |
| Move trim points of clip(in microseconds). More...
|
|
| getInPoint () |
| Gets the in-point of the clip on the timeline. More...
|
|
| getOutPoint () |
| Gets the out-point of the clip on the timeline. More...
|
|
| getType () |
| Gets the clip type (video clip, audio clip). More...
|
|
| getIndex () |
| Gets the index of the clip on the track. More...
|
|
| getFilePath () |
| Gets the clip file path. More...
|
|
| getFxCount () |
| Gets the number of effects on the clip. Note: The effect index on the clip starts from 0. More...
|
|
| changeTrimInPoint (newTrimInPoint, affectSibling) |
| Modifies the trim in point of the clip. This interface will cause the streaming engine state to jump to the engine stop state, please refer to Engine Change Feature for details. More...
|
|
| changeTrimOutPoint (newTrimOutPoint, affectSibling) |
| Modifies the trim out point of the clip. This interface will cause the streaming engine state to jump to the engine stop state, refer to Engine Change Feature for details. More...
|
|
| getSpeed () |
| Get the playback speed of the clip.The default value is 1, which means that it plays at normal speed; the value less than 1 means slower playback; the value greater than 1 means faster playback Returns the playback speed of the current clip. More...
|
|
| changeSpeed (newSpeed, keepAudioPitch) |
| Changes the playback speed of the clip.This interface will cause the streaming engine state to jump to the engine stop state. More...
|
|
| changeSpeedWithOutPoint (outPoint, newSpeed, keepAudioPitch) |
| Changes the playback speed of the clip.This interface will cause the streaming engine state to jump to the engine stop state. More...
|
|
| isKeepAudioPitch () |
| Whether keep the tone unchanged. More...
|
|
| getVolumeGain () |
| Gets volume. More...
|
|
| setVolumeGain (leftVolumeGain, rightVolumeGain) |
| Sets the volume. More...
|
|
| setFadeInDuration (duration) |
| Sets the fade-in time. More...
|
|
| getFadeInDuration () |
| Gets fade-in time. More...
|
|
| setFadeOutDuration (duration) |
| Sets fade-out time.Fade-out duration in microseconds, 0 means no fade-out.Duration must >= 0. More...
|
|
| getFadeOutDuration () |
| Gets fade-out time. More...
|
|
| changeCurvesVariableSpeed (curvesString, keepAudioPitch) |
| Changes the playback speed of the clip by curves(only support for video clip).This interface will cause the streaming engine state to jump to the engine stop state. More...
|
|
| changeCurvesVariableSpeedWithOutPoint (outPoint, curvesString, keepAudioPitch) |
| Changes the playback speed of the clip by curves(only support for video clip).This interface will cause the streaming engine state to jump to the engine stop state. More...
|
|
| getClipVariableSpeedCurvesString () |
| Get current variable speed curves of clip.The x coords at the each output curves' endpoint is relative,user can scale x to any size. eg: scale curves range to equal with clip length. More...
|
|
| getClipPosByTimelinePosCurvesVariableSpeed (timelinePos) |
| Gets the pos in clip by current timeline pos when used curves variable speed. More...
|
|
| getTimelinePosByClipPosCurvesVariableSpeed (clipPos) |
| Gets the pos in timelne by current clip pos when used curves variable speed. More...
|
|
| getAudioVolumeFx () |
| Gets the audio volume effect of the clip. More...
|
|
| getInternalTimeline () |
| Gets the internal timeline object from the clip. More...
|
|
| isTimelineClip () |
| Is timeline clip. More...
|
|
| changeClipFilePath (clipFilePath) |
| Change the path of clip. More...
|
|
| constructor () |
|
| setInternalObject (obj) |
| set internal object More...
|
|
| getInternalObject () |
| get internal object More...
|
|
| setTemplateAttachment (key, value) |
| Adds additional template data to the NvsObject object to identify the NvsObject template object. More...
|
|
| getTemplateAttachment (key) |
| Gets an template attachment to NvsObject. More...
|
|
Video clip, description of video file. The video clip source can be video or image. Each video clip can modify its trim in point, trim out point and playback speed, and can also set panning and scanning. When editing a video, you can add or insert multiple video effects according to different types of effects (built-in effects, wrapped effects, beauty effects). When adding resource pack effects, you have to install them first. After the installation is successful, you can use them only by obtaining the packageid, while builtin only needs to obtain the name of the effect.
- See also
- NvsClip