메소드 | 설명 | |
---|---|---|
CalculateBitrate ( HandBrake.Interop.Model.EncodeJob job, int sizeMB, double overallSelectedLengthSeconds ) : int |
Calculates the video bitrate for the given job and target size.
|
|
CalculateFileSize ( HandBrake.Interop.Model.EncodeJob job, int videoBitrate ) : double |
Gives estimated file size (in MB) of the given job and video bitrate.
|
|
Dispose ( ) : void |
Frees any resources associated with this object.
|
|
DisposeGlobal ( ) : void |
Call before app shutdown. Performs global cleanup.
|
|
GetPreview ( HandBrake.Interop.Model.EncodeJob job, int previewNumber ) : |
Gets an image for the given job and preview Only incorporates sizing and aspect ratio into preview image. |
|
GetSize ( HandBrake.Interop.Model.EncodeJob job, int &width, int &height, int &parWidth, int &parHeight ) : void |
Gets the final size for a given encode job.
|
|
Initialize ( int verbosity ) : void |
Initializes this instance.
|
|
PauseEncode ( ) : void |
Pauses the current encode.
|
|
ResumeEncode ( ) : void |
Resumes a paused encode.
|
|
StartEncode ( HandBrake.Interop.Model.EncodeJob jobToStart ) : void |
Starts an encode with the given job.
|
|
StartEncode ( HandBrake.Interop.Model.EncodeJob job, bool preview, int previewNumber, int previewSeconds, double overallSelectedLengthSeconds ) : void |
Starts an encode with the given job.
|
|
StartScan ( string path, int previewCount ) : void |
Starts scanning the given path.
|
|
StartScan ( string path, int previewCount, int titleIndex ) : void |
Starts a scan of the given path.
|
|
StopEncode ( ) : void |
Stops the current encode.
|
|
StopScan ( ) : void |
Stops an ongoing scan.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Frees any resources associated with this object.
|
메소드 | 설명 | |
---|---|---|
AddFilter ( List |
Adds a filter to the given filter list.
|
|
ApplyJob ( |
Applies the encoding job to the native memory structure and returns a list of memory locations allocated during this.
|
|
ApplyJob ( |
Applies the encoding job to the native memory structure and returns a list of memory locations allocated during this.
|
|
CalculateNonAnamorphicOutput ( HandBrake.Interop.Model.Encoding.EncodingProfile profile, HandBrake.Interop.SourceData.Title title ) : HandBrake.Interop.Model.Size |
Calculates the output size for a non-anamorphic job.
|
|
ConvertAudioBack ( |
Applies an audio encoding to a native audio encoding base structure.
|
|
ConvertTitle ( |
Converts a native title to a Title object.
|
|
GetNearestValue ( int number, int modulus ) : int |
Gets the closest value to the given number divisible by the given modulus.
|
|
GetOriginalTitle ( int titleIndex ) : |
Gets the native title object from the title index.
|
|
GetOutputTracks ( HandBrake.Interop.Model.EncodeJob job, HandBrake.Interop.SourceData.Title title ) : int>>.List |
Gets a list of encodings and target track indices (1-based).
|
|
GetTitle ( int titleIndex ) : HandBrake.Interop.SourceData.Title |
Gets the title, given the 1-based index.
|
|
PollEncodeProgress ( ) : void |
Checks the status of the ongoing encode.
|
|
PollScanProgress ( ) : void |
Checks the status of the ongoing scan.
|
public CalculateBitrate ( HandBrake.Interop.Model.EncodeJob job, int sizeMB, double overallSelectedLengthSeconds ) : int | ||
job | HandBrake.Interop.Model.EncodeJob | The encode job. |
sizeMB | int | The target size in MB. |
overallSelectedLengthSeconds | double | The currently selected encode length. Used in preview /// for calculating bitrate when the target size would be wrong. |
리턴 | int |
public CalculateFileSize ( HandBrake.Interop.Model.EncodeJob job, int videoBitrate ) : double | ||
job | HandBrake.Interop.Model.EncodeJob | The encode job. |
videoBitrate | int | The video bitrate to be used (kbps). |
리턴 | double |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | True if managed objects as well as unmanaged should be disposed. |
리턴 | void |
public GetPreview ( HandBrake.Interop.Model.EncodeJob job, int previewNumber ) : |
||
job | HandBrake.Interop.Model.EncodeJob | The encode job to preview. |
previewNumber | int | The index of the preview to get (0-based). |
리턴 |
public GetSize ( HandBrake.Interop.Model.EncodeJob job, int &width, int &height, int &parWidth, int &parHeight ) : void | ||
job | HandBrake.Interop.Model.EncodeJob | The encode job to use. |
width | int | The storage width. |
height | int | The storage height. |
parWidth | int | The pixel aspect X number. |
parHeight | int | The pixel aspect Y number. |
리턴 | void |
public Initialize ( int verbosity ) : void | ||
verbosity | int | The code for the logging verbosity to use. |
리턴 | void |
public StartEncode ( HandBrake.Interop.Model.EncodeJob jobToStart ) : void | ||
jobToStart | HandBrake.Interop.Model.EncodeJob | The job to start. |
리턴 | void |
public StartEncode ( HandBrake.Interop.Model.EncodeJob job, bool preview, int previewNumber, int previewSeconds, double overallSelectedLengthSeconds ) : void | ||
job | HandBrake.Interop.Model.EncodeJob | The job to start. |
preview | bool | True if this is a preview encode. |
previewNumber | int | The preview number to start the encode at (0-based). |
previewSeconds | int | The number of seconds in the preview. |
overallSelectedLengthSeconds | double | The currently selected encode length. Used in preview /// for calculating bitrate when the target size would be wrong. |
리턴 | void |
public StartScan ( string path, int previewCount ) : void | ||
path | string | The path to the video to scan. |
previewCount | int | The number of preview images to make. |
리턴 | void |
public StartScan ( string path, int previewCount, int titleIndex ) : void | ||
path | string | The path of the video to scan. |
previewCount | int | The number of previews to make on each title. |
titleIndex | int | The title index to scan (1-based, 0 for all titles). |
리턴 | void |