public Video(String input, String output, int length, String extension, int LSB, String password) { Length = length; Extension = extension; this.LSB = LSB; Password = ToPasswordSeed(password); SumPNSRFrame = 0; SumPNSR = 0; PNSR = 0; reader = new AVIReader(); writer = new AVIWriter(); reader.Open(input); writer.Open(output, reader.Width, reader.Height); ResetWriteByte(); HideHeader(); }
/// <summary> /// Initializes a new instance of the <see cref="AVIFileVideoSource"/> class. /// </summary> /// /// <param name="source">Video file name.</param> /// public AVIFileExVideoSource(string source) { this.aviReader = new AVIReader(); this.source = source; }
/// <summary> /// Initializes a new instance of the <see cref="AVIFileVideoSource"/> class. /// </summary> /// public AVIFileExVideoSource() { this.aviReader = new AVIReader(); }