Beispiel #1
0
        private void vInput_FileSelected(FileBar sender, FileBarEventArgs args)
        {
            try
            {
                fps.Value = (decimal)new MediaInfoFile(vInput.Filename).Info.FPS;
            }
            catch (Exception) { fps.Value = null; }

            if (string.IsNullOrEmpty(output.Filename))
                chooseOutputFilename();

            fileUpdated();
            checkIO();
        }
Beispiel #2
0
/*        public ISettingsProvider<VideoCodecSettings, VideoInfo, VideoCodec, VideoEncoderType> CurrentVideoCodecSettingsProvider
 *      {
 *          get
 *          {
 *              return videoCodec.SelectedItem as ISettingsProvider<VideoCodecSettings, VideoInfo, VideoCodec, VideoEncoderType>;
 *          }
 *      }
 */
        #endregion
        #region event handlers
        private void videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
        {
            openVideoFile(videoInput.Filename);
        }
Beispiel #3
0
 private void videoOutput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     info.VideoOutput = videoOutput.Filename;
 }
Beispiel #4
0
 private void muxedInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIO();
     fileUpdated();
 }
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     checkIndexIO();
 }
 private void videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     if (!string.IsNullOrEmpty(videoInput.Filename))
     {
         if (VideoUtil.findDGSource(videoInput.Filename))
         {
             if (VideoUtil.manageCUVIDServer())
                 openVideoFile(videoInput.Filename);
         }
         else
             openVideoFile(videoInput.Filename);
     }
     editZonesButton.Enabled = !string.IsNullOrEmpty(videoInput.Filename);
 }
Beispiel #7
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     output.Filename = Path.ChangeExtension(input.Filename, ".idx");
     checkIndexIO();
 }
Beispiel #8
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     outputChosen = true;
 }
Beispiel #9
0
 private void workingDirectory_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     updateFilename();
 }
Beispiel #10
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     outputChosen = true;
 }
Beispiel #11
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openInput(input.Filename);
 }
Beispiel #12
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openInput(input.Filename);
 }
Beispiel #13
0
 private void workingDirectory_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     updateFilename();
 }
Beispiel #14
0
 private void chapters_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     fileUpdated();
 }
Beispiel #15
0
 private void chapters_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     fileUpdated();
 }
Beispiel #16
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     checkIndexIO();
 }
Beispiel #17
0
 private void muxedInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIO();
     fileUpdated();
 }
Beispiel #18
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     //AAA: processing doesn't seem to get set to true anywhere so hopefully safe to remove check
     openVideo(input.Filename);
     checkIndexIO();
 }
 private void videoOutput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     info.VideoOutput = videoOutput.Filename;
 }
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     output.Filename = Path.ChangeExtension(input.Filename, ".idx");
     checkIndexIO();
 }
Beispiel #21
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIndexIO();
 }
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIndexIO();
 }
Beispiel #23
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideoSource(input.Filename);
     if (chAutoPreview.Checked == true)
         previewButton_Click(sender, args);
     signalAR_Checkedchanged(null, null);
 }
Beispiel #24
0
 private void audioInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openAudioFile(audioInput.Filename);
 }