Edytuj

Udostępnij za pośrednictwem


AVAssetWriterInput.Create Method

Definition

Overloads

Create(String, AudioSettings)

Static factory method to create a new AVAssetWriterInput with the specified mediaType and outputSettings.

Create(String, AVVideoSettingsCompressed)

Static factory method to create a new AVAssetWriterInput with the specified mediaType and outputSettings.

Create(String, AudioSettings, CMFormatDescription)

Static factory method to create a new AVAssetWriterInput with the specified mediaType, outputSettings, and sourceFormatHint.

Create(String, AVVideoSettingsCompressed, CMFormatDescription)

Static factory method to create a new AVAssetWriterInput with the specified mediaType, outputSettings, and sourceFormatHint.

Create(String, AudioSettings)

Static factory method to create a new AVAssetWriterInput with the specified mediaType and outputSettings.

public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AudioSettings outputSettings);
static member Create : string * AVFoundation.AudioSettings -> AVFoundation.AVAssetWriterInput

Parameters

mediaType
String
outputSettings
AudioSettings

The dictionary should contain configuration information using keys from the AVAudioSettings and AVVideo.

This parameter can be null.

Returns

Applies to

Create(String, AVVideoSettingsCompressed)

Static factory method to create a new AVAssetWriterInput with the specified mediaType and outputSettings.

public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AVVideoSettingsCompressed outputSettings);
static member Create : string * AVFoundation.AVVideoSettingsCompressed -> AVFoundation.AVAssetWriterInput

Parameters

mediaType
String
outputSettings
AVVideoSettingsCompressed

Returns

Applies to

Create(String, AudioSettings, CMFormatDescription)

Static factory method to create a new AVAssetWriterInput with the specified mediaType, outputSettings, and sourceFormatHint.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AudioSettings outputSettings, CoreMedia.CMFormatDescription sourceFormatHint);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AudioSettings outputSettings, CoreMedia.CMFormatDescription sourceFormatHint);
static member Create : string * AVFoundation.AudioSettings * CoreMedia.CMFormatDescription -> AVFoundation.AVAssetWriterInput

Parameters

mediaType
String
outputSettings
AudioSettings
sourceFormatHint
CMFormatDescription

Returns

Attributes

Applies to

Create(String, AVVideoSettingsCompressed, CMFormatDescription)

Static factory method to create a new AVAssetWriterInput with the specified mediaType, outputSettings, and sourceFormatHint.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AVVideoSettingsCompressed outputSettings, CoreMedia.CMFormatDescription sourceFormatHint);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVAssetWriterInput Create (string mediaType, AVFoundation.AVVideoSettingsCompressed outputSettings, CoreMedia.CMFormatDescription sourceFormatHint);
static member Create : string * AVFoundation.AVVideoSettingsCompressed * CoreMedia.CMFormatDescription -> AVFoundation.AVAssetWriterInput

Parameters

mediaType
String
outputSettings
AVVideoSettingsCompressed
sourceFormatHint
CMFormatDescription

Returns

Attributes

Applies to