Table of Contents

Class FFMPEGEXESettingsDialog

Namespace
VisioForge.Core.UI.WinForms.Dialogs.OutputFormats
Assembly
VisioForge.Core.dll

Windows Forms dialog for configuring FFMPEG.exe output format settings. Provides a comprehensive interface for configuring FFMPEG.exe encoding parameters including format selection, video and audio codec settings, and advanced encoding options.

public class FFMPEGEXESettingsDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

Inheritance

Implements

Inherited Members

Extension Methods

Remarks

This dialog supports configuration of:

  • Output format selection (MP4, AVI, WebM, MOV, etc.)
  • Video codec settings (H.264, HEVC, VP8, VP9, MPEG-2, etc.)
  • Audio codec settings (AAC, MP3, FLAC, Vorbis, etc.)
  • Encoding parameters (bitrate, quality, GOP size, etc.)
  • H.264/HEVC specific settings (profiles, levels, usage scenarios)
  • Custom FFMPEG command line arguments
  • Predefined encoding profiles for common scenarios The dialog uses FFMPEG.exe as the encoding engine, supporting all formats available in the FFMPEG executable.

Constructors

FFMPEGEXESettingsDialog()

Initializes a new instance of the VisioForge.Core.UI.WinForms.Dialogs.OutputFormats.FFMPEGEXESettingsDialog class. Creates the dialog with default FFMPEG.exe settings.

public FFMPEGEXESettingsDialog()

Remarks

Default settings include MP4 H.264/AAC profile with standard quality settings.

Methods

Dispose(bool)

Clean up any resources being used by the FFMPEG.exe settings dialog. Disposes of managed resources including UI components when disposing is true.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Remarks

This method is called by the Dispose() method and the finalizer. When disposing is true, it's safe to dispose of managed resources.

LoadSettings(FFMPEGEXEOutput)

Loads settings from an FFMPEGEXEOutput configuration object into the dialog controls. Populates all dialog controls with values from the specified FFMPEG.exe output configuration.

public void LoadSettings(FFMPEGEXEOutput ffmpegOutput)

Parameters

ffmpegOutput FFMPEGEXEOutput

The FFMPEG.exe output configuration object containing settings to load.

Remarks

This method transfers comprehensive FFMPEG.exe settings from the FFMPEGEXEOutput object to the dialog controls, including output format, video and audio codec settings, encoding parameters, and custom arguments. It handles complex mapping between enum values and UI control selections.

SaveSettings(ref FFMPEGEXEOutput)

Saves settings from the dialog controls into an FFMPEGEXEOutput configuration object. Transfers all current dialog settings to the specified FFMPEG.exe output configuration.

public void SaveSettings(ref FFMPEGEXEOutput ffmpegOutput)

Parameters

ffmpegOutput FFMPEGEXEOutput

The FFMPEG.exe output configuration object to update with current dialog settings.

Remarks

This method transfers all current dialog settings to the FFMPEGEXEOutput object, including output format, video and audio codec settings, encoding parameters, and custom arguments. It handles complex mapping between UI control selections and enum values. The ffmpegOutput parameter is passed by reference to allow modification.