Skip to content

VideoProcessingOptions ​

Namespace: MJCZone.MediaMatic.Models

Assembly: MJCZone.MediaMatic

Summary ​

Options for processing existing videos.

public

Contents ​

Constructors (1) | Methods (4) | Properties (12)

Constructors ​

VideoProcessingOptions ​

csharp
VideoProcessingOptions()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Format ​

Gets or sets the target video format. Null means keep original format.

Type: VideoFormat?

Codec ​

Gets or sets the target video codec. Null means use default for format.

Type: VideoCodec?

Width ​

Gets or sets the target width (null to maintain aspect ratio).

Type: int?

Height ​

Gets or sets the target height (null to maintain aspect ratio).

Type: int?

Bitrate ​

Gets or sets the target bitrate in kbps. Null means automatic.

Type: int?

FrameRate ​

Gets or sets the target frame rate (fps). Null means keep original.

Type: double?

StartTime ​

Gets or sets the start time for trimming (seconds). Null means start from beginning.

Type: double?

EndTime ​

Gets or sets the end time for trimming (seconds). Null means to end of video.

Type: double?

StripAudio ​

Gets or sets a value indicating whether to strip audio. Default is false.

Type: bool

StripMetadata ​

Gets or sets a value indicating whether to strip metadata. Default is false.

Type: bool

AudioBitrate ​

Gets or sets the audio bitrate in kbps. Null means automatic.

Type: int?

UseHardwareAcceleration ​

Gets or sets a value indicating whether to use hardware acceleration. Default is false.

Type: bool