C# Class NaturalGroundingPlayer.MediaEncoderWindow

Interaction logic for MediaEncoderWindow.xaml
Inheritance: System.Windows.Window
Afficher le fichier Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Protected Properties

Свойство Type Description
callback System.Action

Méthodes publiques

Méthode Description
ClosePreview ( ) : void
Instance ( System.Action callback ) : void
MediaEncoderWindow ( ) : System
SetEncodeSettings ( MediaEncoderSettings value ) : void

Private Methods

Méthode 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 méthode

public ClosePreview ( ) : void
Résultat void

Instance() public static méthode

public static Instance ( System.Action callback ) : void
callback System.Action
Résultat void

MediaEncoderWindow() public méthode

public MediaEncoderWindow ( ) : System
Résultat System

SetEncodeSettings() public méthode

public SetEncodeSettings ( MediaEncoderSettings value ) : void
value Business.MediaEncoderSettings
Résultat void

Property Details

callback protected_oe property

protected Action,System callback
Résultat System.Action