C# 클래스 HandBrake.ApplicationServices.Services.Encode

Class which handles the CLI
상속: HandBrake.ApplicationServices.Services.Base.EncodeBase, IEncode
파일 보기 프로젝트 열기: golgol7777/HandBrakeWinSource 1 사용 예제들

공개 메소드들

메소드 설명
Encode ( ) : System

Initializes a new instance of the Encode class.

SafelyStop ( ) : void

Attempt to Safely kill a DirectRun() CLI NOTE: This will not work with a MinGW CLI Note: http://www.cygwin.com/ml/cygwin/2006-03/msg00330.html

Start ( HandBrake.ApplicationServices.Model.QueueTask encodeQueueTask, bool enableLogging ) : void

Execute a HandBrakeCLI process.

Stop ( ) : void

Stop the Encode

Stop ( Exception exc ) : void

Kill the CLI process

비공개 메소드들

메소드 설명
EncodeEncodeStarted ( object sender, EventArgs e ) : void

Encode Started

EncodeMonitor ( ) : void

Monitor the QueueTask

EncodeOnEncodeProgress ( object sender, int currentTask, int taskCount, float percentComplete, float currentFps, float avg, string timeRemaining ) : void

Displays the Encode status in the GUI

HbProcErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void

Recieve the Standard Error information and process it

HbProcessExited ( object sender, EventArgs e ) : void

The HandBrakeCLI process has exited.

메소드 상세

Encode() 공개 메소드

Initializes a new instance of the Encode class.
public Encode ( ) : System
리턴 System

SafelyStop() 공개 메소드

Attempt to Safely kill a DirectRun() CLI NOTE: This will not work with a MinGW CLI Note: http://www.cygwin.com/ml/cygwin/2006-03/msg00330.html
public SafelyStop ( ) : void
리턴 void

Start() 공개 메소드

Execute a HandBrakeCLI process.
public Start ( HandBrake.ApplicationServices.Model.QueueTask encodeQueueTask, bool enableLogging ) : void
encodeQueueTask HandBrake.ApplicationServices.Model.QueueTask /// The encodeQueueTask. ///
enableLogging bool /// Enable Logging. When Disabled we onlt parse Standard Ouput for progress info. Standard Error log data is ignored. ///
리턴 void

Stop() 공개 메소드

Stop the Encode
public Stop ( ) : void
리턴 void

Stop() 공개 메소드

Kill the CLI process
public Stop ( Exception exc ) : void
exc System.Exception /// The Exception that has occured. /// This will get bubbled up through the EncodeCompletedEventArgs ///
리턴 void