C# Class NaturalGroundingPlayer.MediaEncoderWindow

Interaction logic for MediaEncoderWindow.xaml
Inheritance: System.Windows.Window
Mostrar archivo Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Protected Properties

Property Type Description
callback System.Action

Public Methods

Method Description
ClosePreview ( ) : void
Instance ( System.Action callback ) : void
MediaEncoderWindow ( ) : System
SetEncodeSettings ( MediaEncoderSettings value ) : void

Private Methods

Method Description
AudioQuality_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
CalculateAudioGain_Click ( object sender, RoutedEventArgs e ) : void
CloseButton_Click ( object sender, RoutedEventArgs e ) : void
Codec264Option_Click ( object sender, RoutedEventArgs e ) : void
Codec265Option_Click ( object sender, RoutedEventArgs e ) : void
ConvertToAviCheckbox_Click ( object sender, RoutedEventArgs e ) : void
EncodeButton_Click ( object sender, RoutedEventArgs e ) : void
Hyperlink_RequestNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
IsValid ( DependencyObject obj ) : bool
Items_CurrentChanging ( object sender, System.ComponentModel.CurrentChangingEventArgs e ) : void

Generates script when going to Script tab, and prevents returning to Transform tab without a confirmation to lose changes.

PlayVideoAsync ( NaturalGroundingPlayer.WmpPlayerWindow playerWindow, string fileName ) : Task
Player_PositionChanged ( object sender, EventArgs e ) : void

When position changes in PreviewChanges and both players are on pause, the Original will go to the same position.

PreviewChangesButton_Click ( object sender, RoutedEventArgs e ) : void
PreviewMpcButton_Click ( object sender, RoutedEventArgs e ) : void
PreviewOriginalButton_Click ( object sender, RoutedEventArgs e ) : void
SelectVideoButton_Click ( object sender, RoutedEventArgs e ) : void
Validate ( ) : bool
Window_Activated ( object sender, EventArgs e ) : void
Window_Closing ( object sender, System e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
business_EncodingCompleted ( object sender, EncodingCompletedEventArgs e ) : void

Method Details

ClosePreview() public method

public ClosePreview ( ) : void
return void

Instance() public static method

public static Instance ( System.Action callback ) : void
callback System.Action
return void

MediaEncoderWindow() public method

public MediaEncoderWindow ( ) : System
return System

SetEncodeSettings() public method

public SetEncodeSettings ( MediaEncoderSettings value ) : void
value Business.MediaEncoderSettings
return void

Property Details

callback protected_oe property

protected Action,System callback
return System.Action