private void OnStartCapture(object sender, RoutedEventArgs e) => StartCapture(0, int.Parse(TxtBoxQuality.Text), int.Parse(TxtBoxRate.Text));