Table of Contents

Class FFMPEGSettingsDialog

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

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

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

Inheritance

Implements

Inherited Members

Extension Methods

Remarks

This dialog supports configuration of:

  • Output format selection (MP4, MKV, WebM, FLV, etc.)
  • Video codec settings (H.264, HEVC, VP8/VP9, MPEG-2, etc.)
  • Audio codec settings (AAC, MP3, Vorbis, Opus, etc.)
  • Basic encoding parameters (bitrate, resolution, aspect ratio)
  • Video profiles and levels for H.264/HEVC codecs The dialog uses the integrated FFMPEG wrapper for encoding.

Constructors

FFMPEGSettingsDialog()

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

public FFMPEGSettingsDialog()

Remarks

Default settings include automatic format detection and standard quality settings.

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

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

LoadSettings(FFMPEGOutput)

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

public void LoadSettings(FFMPEGOutput ffmpegOutput)

Parameters

ffmpegOutput FFMPEGOutput

The FFMPEG output configuration object containing settings to load.

Remarks

This method transfers all relevant settings from the FFMPEGOutput object to the dialog controls, including format selection, codec settings, video parameters, and audio parameters.

Exceptions

ArgumentOutOfRangeException

Thrown when the TV system in the FFMPEGOutput object is not a valid FFMPEGTVSystem value.

SaveSettings(ref FFMPEGOutput)

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

public void SaveSettings(ref FFMPEGOutput ffmpegOutput)

Parameters

ffmpegOutput FFMPEGOutput

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

Remarks

This method transfers all current dialog settings to the FFMPEGOutput object, including format selection, codec settings, video parameters, and audio parameters. Bitrate values are converted from Kbps to bps for internal use. The ffmpegOutput parameter is passed by reference to allow modification.