public Form1() { InitializeComponent(); InitializeBoxes(); VlcManager = new VlcManager(); InputFileOk = false; }
private void btnVlcLocation_Click(object sender, EventArgs e) { var dialog = new OpenFileDialog(); dialog.Multiselect = false; dialog.ShowDialog(); VlcManager = new VlcManager(dialog.FileName); if (VlcManager.IsInitialized) { textBoxVlcLocation.Text = dialog.FileName; } ToggleGroupBoxes(); }
private void buttonTranscode_Click(object sender, EventArgs e) { textBoxScale.Text.Replace('.', ','); VideoScale = Double.Parse(textBoxScale.Text); VlcManager.Export(VCodec, ACodec, VBitRate, ABitRate, FPS, VideoScale); }