diff options
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding')
4 files changed, 28 insertions, 20 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs index f69833e43..feddb1207 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs @@ -16,8 +16,8 @@ namespace HandBrake.Interop.Model.Encoding [Display(Name = "AAC (faac)")]
Faac = 0,
- [Display(Name = "AAC (ffmpeg)")]
- ffaac,
+ [Display(Name = "AAC (ffmpeg)")]
+ ffaac,
[Display(Name = "MP3 (lame)")]
Lame,
@@ -31,17 +31,17 @@ namespace HandBrake.Interop.Model.Encoding [Display(Name = "AC3 Passthru")]
Ac3Passthrough,
- [Display(Name = "DTS Passthru")]
- DtsPassthrough,
+ [Display(Name = "DTS Passthru")]
+ DtsPassthrough,
- [Display(Name = "DTS-HD Passthru")]
- DtsHDPassthrough,
+ [Display(Name = "DTS-HD Passthru")]
+ DtsHDPassthrough,
- [Display(Name = "AAC Passthru")]
- AacPassthru,
+ [Display(Name = "AAC Passthru")]
+ AacPassthru,
- [Display(Name = "MP3 Passthru")]
- Mp3Passthru,
+ [Display(Name = "MP3 Passthru")]
+ Mp3Passthru,
[Display(Name = "Vorbis (vorbis)")]
Vorbis
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs index a4c7637b5..ea11d182e 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs @@ -17,12 +17,13 @@ namespace HandBrake.Interop.Model.Encoding public class AudioEncoding
{
/// <summary>
- /// Gets or sets InputNumber.
+ /// Gets or sets the chosen track to apply the encoding to.
/// </summary>
+ /// <remarks>1-based index. 0 means apply to all tracks.</remarks>
public int InputNumber { get; set; }
/// <summary>
- /// Gets or sets Encoder.
+ /// Gets or sets the encoder to use.
/// </summary>
public AudioEncoder Encoder { get; set; }
@@ -32,7 +33,7 @@ namespace HandBrake.Interop.Model.Encoding public int Bitrate { get; set; }
/// <summary>
- /// Gets or sets Mixdown.
+ /// Gets or sets the mixdown.
/// </summary>
public Mixdown Mixdown { get; set; }
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs index d0e930786..d4f85ca81 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs @@ -9,11 +9,11 @@ namespace HandBrake.Interop.Model.Encoding
{
- using System.Collections.Generic;
+ using System.Collections.Generic;
- using HandBrake.Interop.Model;
+ using HandBrake.Interop.Model;
- public class EncodingProfile
+ public class EncodingProfile
{
public EncodingProfile()
{
@@ -54,6 +54,9 @@ namespace HandBrake.Interop.Model.Encoding public VideoEncoder VideoEncoder { get; set; }
public string X264Options { get; set; }
+ public string X264Profile { get; set; }
+ public string X264Preset { get; set; }
+ public string X264Tune { get; set; }
public VideoEncodeRateType VideoEncodeRateType { get; set; }
public double Quality { get; set; }
public int TargetSize { get; set; }
@@ -64,6 +67,7 @@ namespace HandBrake.Interop.Model.Encoding public bool PeakFramerate { get; set; }
public List<AudioEncoding> AudioEncodings { get; set; }
+ public AudioEncoder AudioEncoderFallback { get; set; }
public EncodingProfile Clone()
{
@@ -103,6 +107,9 @@ namespace HandBrake.Interop.Model.Encoding VideoEncoder = this.VideoEncoder,
X264Options = this.X264Options,
+ X264Profile = this.X264Profile,
+ X264Preset = this.X264Preset,
+ X264Tune = this.X264Tune,
VideoEncodeRateType = this.VideoEncodeRateType,
Quality = this.Quality,
TargetSize = this.TargetSize,
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs index f804c4ea2..3fc6b78e4 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs @@ -11,10 +11,10 @@ namespace HandBrake.Interop.Model.Encoding {
using System.ComponentModel.DataAnnotations;
- /// <summary>
- /// The Audio Mixdown Enumeration
- /// </summary>
- public enum Mixdown
+ /// <summary>
+ /// The Audio Mixdown Enumeration
+ /// </summary>
+ public enum Mixdown
{
[Display(Name = "Dolby Pro Logic II")]
DolbyProLogicII = 0,
|