Example #1
0
 public OneClickAudioSettings(string language, string profile, AudioEncodingMode mode, bool useFirstTrackOnly)
 {
     this.language          = language;
     this.profile           = profile;
     this.audioEncodingMode = mode;
     this.useFirstTrackOnly = useFirstTrackOnly;
 }
Example #2
0
        public OneClickStream(string path, TrackType trackType, string codec, string container, int ID, string language, string name, int delay, bool bDefaultTrack, bool bForceTrack, AudioCodecSettings oSettings, AudioEncodingMode oEncodingMode)
        {
            _trackInfo               = new TrackInfo(language, name);
            _trackInfo.TrackType     = trackType;
            _trackInfo.Delay         = delay;
            _trackInfo.DefaultTrack  = bDefaultTrack;
            _trackInfo.ForcedTrack   = bForceTrack;
            _trackInfo.ContainerType = container;
            _trackInfo.Codec         = codec;
            _trackInfo.TrackID       = ID;

            this._inputFilePath = path;

            this._encoderSettings = oSettings;
            if ((int)oEncodingMode == -1)
            {
                this._encodingMode = AudioEncodingMode.IfCodecDoesNotMatch;
            }
            else
            {
                this._encodingMode = oEncodingMode;
            }
        }
Example #3
0
 public OneClickStream(SubtitleTrackInfo oInfo)
 {
     this._trackInfo    = oInfo;
     this._encodingMode = AudioEncodingMode.IfCodecDoesNotMatch;
 }
 public OneClickAudioSettings(string language, string profile, AudioEncodingMode mode)
 {
     this.language          = language;
     this.profile           = profile;
     this.audioEncodingMode = mode;
 }