ドキュメント

Unity Engine

Unity Engine

MediaEncoder

Create a new encoder with various track arrangements.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前

Definition

MediaEncoder(string, VideoTrackAttributes, AudioTrackAttributes[])

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackAttributes videoAttrs, AudioTrackAttributes[] audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, VideoTrackEncoderAttributes, AudioTrackAttributes[])

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackEncoderAttributes videoAttrs, AudioTrackAttributes[] audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, VideoTrackEncoderAttributes, AudioTrackAttributes)

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackEncoderAttributes videoAttrs, AudioTrackAttributes audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, VideoTrackEncoderAttributes)

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackEncoderAttributes videoAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, VideoTrackAttributes, AudioTrackAttributes)

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackAttributes videoAttrs, AudioTrackAttributes audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, VideoTrackAttributes)

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, VideoTrackAttributes videoAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's video track, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, AudioTrackAttributes[])

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, AudioTrackAttributes[] audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.

MediaEncoder(string, AudioTrackAttributes)

Create a new encoder with various track arrangements.
public MediaEncoder(string filePath, AudioTrackAttributes audioAttrs)

Parameters

filePath

Path fo the media file to be written.

Attributes for the file's audio tracks, if any.

Remarks

Throws exceptions when an error is encountered either with the format description or the creation of the file.