Class OpenH264EncoderPage
Interaction logic for OpenH264EncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class OpenH264EncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
OpenH264EncoderPage()
Initializes a new instance of the OpenH264EncoderPage class.
Declaration
public OpenH264EncoderPage()
Properties
BackgroundDetection
Gets or sets a value indicating whether the background detection is enabled.
Declaration
public bool BackgroundDetection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Bitrate
Gets or sets the bitrate.
Declaration
public uint Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The bitrate. |
Denoise
Gets or sets a value indicating whether denoise is enabled.
Declaration
public bool Denoise { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
FrameSkip
Gets or sets a value indicating whether frame skip enabled.
Declaration
public bool FrameSkip { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
GOPSize
Gets or sets the size of the GOP.
Declaration
public uint GOPSize { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The size of the GOP. |
Level
Gets or sets the profile.
Declaration
public OpenH264Level Level { get; set; }
Property Value
| Type | Description |
|---|---|
| OpenH264Level |
LevelStr
Gets or sets the level (as string).
Declaration
public string LevelStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Levels
Gets or sets the levels.
Declaration
public ObservableCollection<string> Levels { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> | The levels. |
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public uint MaxBitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The maximum bitrate. |
Profile
Gets or sets the profile.
Declaration
public OpenH264Profile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| OpenH264Profile | The profile. |
ProfileStr
Gets or sets the coder mode (as string).
Declaration
public string ProfileStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The coder mode. |
Profiles
Gets or sets the profiles.
Declaration
public ObservableCollection<string> Profiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
QPMax
Gets or sets the QP maximum.
Declaration
public double QPMax { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The QP maximum. |
QPMin
Gets or sets the QP minimum.
Declaration
public double QPMin { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The qp minimum. |
Methods
Fill(ref OpenH264EncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref OpenH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenH264EncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(OpenH264EncoderSettings)
Initializes the specified settings.
Declaration
public void Init(OpenH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenH264EncoderSettings | settings | The settings. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
SetProperty<T>(ref T, T, string)
Sets the property.
Declaration
protected bool SetProperty<T>(ref T field, T newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | field | The field. |
| T | newValue | The new value. |
| string | propertyName | Name of the property. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | Type. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |