VideoEditorSaveSettings

class VideoEditorSaveSettings constructor(parcel: <ERROR CLASS>?)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
setVideoExportFormat
Link copied to clipboard

The export format of the result.

fun setVideoExportFormat(exportFormat: VideoExportFormat)
toString
Link copied to clipboard
open override fun toString(): String

Properties

allowFastTrim
Link copied to clipboard

Fast trimming is a technique that can speed up the export by remuxing instead of transcoding. But it has some disadvantages.

  1. Only the trim operation is speed up. If the user change the content by cropping, filter, focus, sticker, etc. a normal export is done.

  2. The original format of the audio and video track is retained, if you need a special format, set allowFastTrim to false!

  3. The accuracy of the start time when trimming is deteriorated since the first frame of the cut must be a KeyFrame. The accuracy depends on the source video I frame interval.

  4. The Video preview is stopping while export. This should not be a problem because the remuxing is very fast. Default: false

var allowFastTrim: <ERROR CLASS>
bitRate
Link copied to clipboard

Set the output bit rate. Default is TAKE_SOURCE_BIT_RATE

var bitRate: <ERROR CLASS>
exportFrameRate
Link copied to clipboard
val exportFrameRate: <ERROR CLASS>
exportSize
Link copied to clipboard

Set a specific output size in pixel. Default is TAKE_SOURCE_SIZE

var exportSize: <ERROR CLASS>
iFrameIntervalInSeconds
Link copied to clipboard

Set the key frame interval in seconds. Default is 2 seconds.

var iFrameIntervalInSeconds: <ERROR CLASS>