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
public static final class VisualClip.CppProxy extends java.lang.Object implements VisualClip
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.visual_clip.VisualClip
VisualClip.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
static VisualClip
create(java.lang.String musicDbPath, java.lang.String effectsTemplatesPath, VisualClipListener listener)
Create instance of visual clip processorprotected void
finalize()
java.util.ArrayList<java.lang.String>
process(java.util.ArrayList<VisualClipVideo> videos, int numFrames, int resultSize)
Process video and get recomendations
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
process
public java.util.ArrayList<java.lang.String> process(java.util.ArrayList<VisualClipVideo> videos, int numFrames, int resultSize)
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 java.lang.String musicDbPath, @NonNull java.lang.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
-
-