Skip to content

VideoUploadOptions

Namespace: MJCZone.MediaMatic.Models

Assembly: MJCZone.MediaMatic

Summary

Options for uploading and processing videos.

public

Contents

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

Constructors

VideoUploadOptions

csharp
VideoUploadOptions()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

Path

Gets or sets the target path for the uploaded video.

Type: string?

GenerateThumbnails

Gets or sets a value indicating whether to generate video thumbnails. Default is true.

Type: bool?

ThumbnailCount

Gets or sets the number of thumbnails to generate. Default is 3.

Type: int?

ThumbnailTimestamps

Gets or sets specific timestamps (in seconds) for thumbnail generation. Null means evenly spaced throughout video.

Type: List<double?>?

ThumbnailWidth

Gets or sets the thumbnail width in pixels. Default is 320.

Type: int?

Transcode

Gets or sets a value indicating whether to transcode the video to standard formats. Default is false.

Type: bool?

TargetFormat

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

Type: VideoFormat?

TargetCodec

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

Type: VideoCodec?

MaxWidth

Gets or sets the maximum width for the video (will resize if larger). Null means no maximum.

Type: int?

MaxHeight

Gets or sets the maximum height for the video (will resize if larger). Null means no maximum.

Type: int?

Bitrate

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

Type: int?

ExtractMetadata

Gets or sets a value indicating whether to extract metadata (duration, codec, dimensions). Default is true.

Type: bool?

StripMetadata

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

Type: bool?

Overwrite

Gets or sets a value indicating whether to overwrite existing files. Default is false.

Type: bool?