VideoEditViewControllerOptionsBuilder
@objcMembers
@objc(PESDKVideoEditViewControllerOptionsBuilder)
open class VideoEditViewControllerOptionsBuilder : MediaEditViewControllerOptionsBuilder
The default VideoEditViewControllerOptionsBuilder
for VideoEditViewControllerOptions
.
-
The video container format to export. Default is
.mp4
.Declaration
Swift
open var videoContainerFormat: VideoContainerFormat
-
The video codec to use for the exported video. Default is
.h264
.Declaration
Swift
open var videoCodec: VideoCodec
-
The local file path where to export the edited video.
nil
means export to a temporary file. Default isnil
.Declaration
Swift
open var exportURL: URL?
-
With the force trim option, you’re able to enforce a
TrimToolControllerOptions.minimumDuration
andTrimToolControllerOptions.maximumDuration
for a video composition in the composition tool and/or a single video in the trim tool. Thus users will not be able to export videos, which are not within the defined video duration limits. This feature is implemented as part of the user interface only. To be able to use this feature your subscription must include the trim feature. Default is set toForceTrimMode.silent
.Declaration
Swift
open var forceTrimMode: ForceTrimMode
-
Creates a new instance of
VideoEditViewControllerOptionsBuilder
initialized with the given options.Declaration
Swift
public init(videoEditOptions: VideoEditViewControllerOptions)
Parameters
videoEditOptions
A
VideoEditViewControllerOptions
instance.