Package com.banuba.sdk.visual_clip
Class VisualClip.CppProxy
java.lang.Object
com.banuba.sdk.visual_clip.VisualClip.CppProxy
- All Implemented Interfaces:
VisualClip
- Enclosing interface:
- VisualClip
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.visual_clip.VisualClip
VisualClip.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static VisualClip
create
(String musicDbPath, String effectsTemplatesPath, VisualClipListener listener) Create instance of visual clip processorprotected void
finalize()
process
(ArrayList<VisualClipVideo> videos, int numFrames, int resultSize) Process video and get recomendations
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
process
Description copied from interface:VisualClip
Process video and get recomendations- Specified by:
process
in interfaceVisualClip
- Parameters:
videos
- array of videos to processnumFrames
- number of frames in video to processresultSize
- number of recomendations in result array- Returns:
- array of recomendations, each is json, sorted by relevance
-
create
@Nullable public static VisualClip create(@NonNull String musicDbPath, @NonNull String effectsTemplatesPath, @Nullable VisualClipListener listener) Description copied from interface:VisualClip
Create instance of visual clip processor- Parameters:
musicDbPath
- absolute path to folder with music infoeffectsTemplatesPath
- absolute path to folder with effects templateslistener
- callback
-