VideoInfo
public class VideoInfo
Video information
Contains the information about the video file, it’s location, duration, video dimensions, etc
-
URL of the video file, internal location within the app
Declaration
Swift
public var url: URL -
Video dimensions
Declaration
Swift
public var size: CGSize -
Video frame rate
Declaration
Swift
public var fps: Double -
Video duration
Declaration
Swift
public var duration: TimeInterval -
Video start presentation time
Declaration
Swift
public var startPresentationTime: CMTime -
Date when the video was recorded
Declaration
Swift
public var dateRecorded: Date -
Create a new
VideoInfoobjectDeclaration
Swift
public init(url: URL) -
filename of the video file
Declaration
Swift
public var filename: String { get }
VideoInfo Class Reference