Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 2.92 KB

advanced_integration.md

File metadata and controls

84 lines (70 loc) · 2.92 KB

Advanced integration

This guide is aimed to help you complete advanced integration of Video Editor SDK.

Video recording

Video editor supports functionality allowing to record video using Android camera. There are many features, configurations and styles that will help you to record video easily in an excellent quality.
Please follow video recording integration guide to know more about available features.

Video editing

Any video recorded or picked in gallery can be edited in video editor. Our SDK allows rich set of functionalities to edit video - add various effects, trim video, add transitions and much more. Visit Video editing guide to know more details.

Add effects

Video Editor allows to apply a number of various effects to video:

  1. Face AR effects
  2. Color filters(LUT)
  3. Visual
  4. Speed
  5. Stickers(GIPHY)
  6. Text
  7. Blur
  8. Transitions

Please follow Video Editor effects integration guide to get more information about applying available effects.

Drafts

The feature that allows your users to save and proceed editing later. Video editor includes built in screen for managing drafts.
Visit Drafts guide to know more details.

Launch methods

Video Editor supports multiple launch methods that are in VideoCreationActivity to meet all your requirements.

  1. Launch from Camera screen where the user can record video or take a picture.
     fun startFromCamera(
        context: Context,
        pictureInPictureConfig: PipConfig? = null,
        additionalExportData: Parcelable? = null,
        audioTrackData: TrackData? = null
    )

Pass instance of PipConfig to start in Picture-in-Picture(PIP) mode.
❗ Important
Video editor will not open in PIP mode if your license token does not support PIP feature.

  1. Launch from Trimmer screen where the user can trim video, add transitions and move to editing screens for adding effects.
    fun startFromTrimmer(
            context: Context,
            predefinedVideos: Array<Uri>,
            additionalExportData: Parcelable? = null,
            audioTrackData: TrackData? = null
        )
  1. Launch from Drafts screen where the user can pick any non completed draft and proceed making video.
     fun startFromDrafts(
            context: Context,
            predefinedDraft: Draft? = null
    )
  1. Launch from Editor screen where the user can add effects to video.
    fun startFromEditor(
        context: Context,
        predefinedVideos: Array<Uri>,
        additionalExportData: Parcelable? = null,
        audioTrackData: TrackData? = null
    )