Table of Contents

Class UniversalOutputDialog

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

Universal dialog for configuring output formats and their encoder settings.

public class UniversalOutputDialog : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector

Inheritance

Implements

Inherited Members

Remarks

This dialog provides a comprehensive interface for configuring various output formats and their associated video/audio encoders. It supports a wide range of container formats and encoding options, making it suitable for different media processing scenarios.

Supported output formats include: - AVI (Audio Video Interleave) - MP4 (MPEG-4 Part 14) - MKV (Matroska Video) - MOV (QuickTime Movie) - WebM (Web Media) - WMV (Windows Media Video) - MPEG-TS (MPEG Transport Stream) - Audio-only formats: MP3, FLAC, OGG, WAV, WMA, etc.

Video encoder support: - Hardware accelerated: NVENC (NVIDIA), QSV (Intel), AMF (AMD) - Software encoders: H.264, H.265/HEVC, VP8, VP9, AV1, Theora - Specialized formats: DV, MJPEG, WMV

Audio encoder support: - Lossy: MP3 (LAME), AAC, Vorbis, Opus, WMA - Lossless: FLAC, WavPack, uncompressed WAV - Specialized: Speex (speech), DV audio

The dialog dynamically adapts its interface based on the selected output format, showing only relevant encoder options and configuration pages for the chosen format.

Constructors

UniversalOutputDialog(IXBaseOutput)

Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.OutputFormats.UniversalOutputDialog class.

public UniversalOutputDialog(IXBaseOutput output)

Parameters

output IXBaseOutput

The output.

Methods

GetOutput()

Gets the output.

public IXBaseOutput GetOutput()

Returns

IXBaseOutput

IXBaseOutput.

GetOutputVC()

Gets the output (for Video Capture Core X).

public IVideoCaptureXBaseOutput GetOutputVC()

Returns

IVideoCaptureXBaseOutput

IVideoCaptureXBaseOutput.

GetOutputVE()

Gets the output (for Video Edit Core X).

public IVideoEditXBaseOutput GetOutputVE()

Returns

IVideoEditXBaseOutput

IVideoEditXBaseOutput.

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnRender(DrawingContext)

When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

protected override void OnRender(DrawingContext drawingContext)

Parameters

drawingContext DrawingContext

The drawing instructions for a specific element. This context is provided to the layout system.