Ejemplo n.º 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();
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 private void videoOutput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     info.VideoOutput = videoOutput.Filename;
 }
Ejemplo n.º 4
0
 private void muxedInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIO();
     fileUpdated();
 }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 7
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     output.Filename = Path.ChangeExtension(input.Filename, ".idx");
     checkIndexIO();
 }
Ejemplo n.º 8
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     outputChosen = true;
 }
Ejemplo n.º 9
0
 private void workingDirectory_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     updateFilename();
 }
Ejemplo n.º 10
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     outputChosen = true;
 }
Ejemplo n.º 11
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openInput(input.Filename);
 }
Ejemplo n.º 12
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openInput(input.Filename);
 }
Ejemplo n.º 13
0
 private void workingDirectory_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     updateFilename();
 }
Ejemplo n.º 14
0
 private void chapters_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     fileUpdated();
 }
Ejemplo n.º 15
0
 private void chapters_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     fileUpdated();
 }
Ejemplo n.º 16
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     checkIndexIO();
 }
Ejemplo n.º 17
0
 private void muxedInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIO();
     fileUpdated();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 19
0
 private void videoOutput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     info.VideoOutput = videoOutput.Filename;
 }
Ejemplo n.º 20
0
 private void input_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openVideo(input.Filename);
     output.Filename = Path.ChangeExtension(input.Filename, ".idx");
     checkIndexIO();
 }
Ejemplo n.º 21
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIndexIO();
 }
Ejemplo n.º 22
0
 private void output_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     checkIndexIO();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 24
0
 private void audioInput_FileSelected(FileBar sender, FileBarEventArgs args)
 {
     openAudioFile(audioInput.Filename);
 }