Class MP4Output
MP4 output settings.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class MP4Output : IVideoEditBaseOutput, IVideoCaptureBaseOutput, INetworkStreamingOutput
Constructors
MP4Output()
Initializes a new instance of the MP4Output class.
Declaration
public MP4Output()
MP4Output(MP3Output)
Initializes a new instance of the MP4Output class.
Declaration
public MP4Output(MP3Output lame)
Parameters
Type | Name | Description |
---|---|---|
MP3Output | lame | LAME parameters. |
Properties
AudioFormat
Gets or sets MP4 output audio format.
Declaration
public MP4AudioEncoder AudioFormat { get; set; }
Property Value
Type | Description |
---|---|
MP4AudioEncoder |
Audio_AAC
Gets or sets AAC settings.
Declaration
public M4AOutput Audio_AAC { get; set; }
Property Value
Type | Description |
---|---|
M4AOutput |
Audio_LAME
Gets or sets LAME. Not available for Media Foundation codecs.
Declaration
public MP3Output Audio_LAME { get; set; }
Property Value
Type | Description |
---|---|
MP3Output |
Encryption
Gets or sets a value indicating whether encryption mode will be used. Not available for Media Foundation codecs.
Declaration
public bool Encryption { get; set; }
Property Value
Type | Description |
---|---|
bool |
Encryption_Format
Gets or sets encryption format.
Declaration
public EncryptionFormat Encryption_Format { get; set; }
Property Value
Type | Description |
---|---|
EncryptionFormat |
Encryption_Key
Gets or sets encryption key - string, filename or binary key.
Declaration
[JsonIgnore]
public object Encryption_Key { get; set; }
Property Value
Type | Description |
---|---|
object |
Encryption_KeyType
Gets or sets encryption key type.
Declaration
public EncryptionKeyType Encryption_KeyType { get; set; }
Property Value
Type | Description |
---|---|
EncryptionKeyType |
Encryption_LicenseKey
Gets or sets Video Encryption SDK license key.
Declaration
[JsonIgnore]
public string Encryption_LicenseKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Encryption_Mode
Gets or sets encryption mode.
Declaration
public EncryptionMode Encryption_Mode { get; set; }
Property Value
Type | Description |
---|---|
EncryptionMode |
MP4Mode
Gets or sets MP4 mode.
Declaration
public MP4Mode MP4Mode { get; set; }
Property Value
Type | Description |
---|---|
MP4Mode |
MP4MuxFlags
Gets or sets MP4 Modern / NVEnc muxer flags. Not available for Media Foundation codecs.
Declaration
public MP4MuxFlags MP4MuxFlags { get; set; }
Property Value
Type | Description |
---|---|
MP4MuxFlags |
UseSpecialSyncMode
Gets or sets a value indicating whether special sync mode used. Enable this option if your audio and video sources are not synchronized. Not available for Media Foundation codecs.
Declaration
public bool UseSpecialSyncMode { get; set; }
Property Value
Type | Description |
---|---|
bool |
Video
Gets or sets H264 settings for v8, v10 codecs.
Declaration
public MP4OutputH264Settings Video { get; set; }
Property Value
Type | Description |
---|---|
MP4OutputH264Settings |
Video_Crop
Gets or sets video crop settings.
Declaration
public VideoCropSettings Video_Crop { get; set; }
Property Value
Type | Description |
---|---|
VideoCropSettings |
Video_NVENC
Gets or sets NVENC settings.
Declaration
public MP4OutputNVENCSettings Video_NVENC { get; set; }
Property Value
Type | Description |
---|---|
MP4OutputNVENCSettings |
Video_Resize
Gets or sets video resize settings.
Declaration
public VideoResizeSettings Video_Resize { get; set; }
Property Value
Type | Description |
---|---|
VideoResizeSettings |
Methods
GetInternalTypeVC()
Gets internal output format.
Declaration
public VideoCaptureOutputFormat GetInternalTypeVC()
Returns
Type | Description |
---|---|
VideoCaptureOutputFormat | Returns VideoCaptureOutputFormat. |
GetInternalTypeVE()
Gets internal output format.
Declaration
public VideoEditOutputFormat GetInternalTypeVE()
Returns
Type | Description |
---|---|
VideoEditOutputFormat | Returns VideoEditOutputFormat. |
Load(string)
Loads.
Declaration
public static MP4Output Load(string json)
Parameters
Type | Name | Description |
---|---|---|
string | json | JSON string. |
Returns
Type | Description |
---|---|
MP4Output | The string. |
Save()
Saves.
Declaration
public string Save()
Returns
Type | Description |
---|---|
string | The string. |