Exemplo n.º 1
0
 public OneClickAudioSettings(string language, string profile, AudioEncodingMode mode, bool useFirstTrackOnly)
 {
     this.language          = language;
     this.profile           = profile;
     this.audioEncodingMode = mode;
     this.useFirstTrackOnly = useFirstTrackOnly;
 }
Exemplo n.º 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;
            }
        }
Exemplo n.º 3
0
 public OneClickStream(SubtitleTrackInfo oInfo)
 {
     this._trackInfo    = oInfo;
     this._encodingMode = AudioEncodingMode.IfCodecDoesNotMatch;
 }
Exemplo n.º 4
0
 public OneClickAudioSettings(string language, string profile, AudioEncodingMode mode)
 {
     this.language          = language;
     this.profile           = profile;
     this.audioEncodingMode = mode;
 }