Table of Contents

Class BasicVideoSettings

Namespace
VisioForge.Core.Types.FFMPEGEXE
Assembly
VisioForge.Core.dll

Provides basic video encoding settings for FFMPEG executable operations.

public class BasicVideoSettings : IBasicVideoSettings

Inheritance

Derived

Inherited Members

Examples

var videoSettings = new BasicVideoSettings
{
    Encoder = VideoEncoder.H264,
    Width = 1920,
    Height = 1080,
    Bitrate = 5000,
    MaxBitrate = 8000,
    MinBitrate = 3000,
    Interlace = false
};

Remarks

This class encapsulates the fundamental video encoding parameters used by FFMPEG when processing video streams. It inherits from VisioForge.Core.Types.FFMPEGEXE.IBasicVideoSettings and provides sensible defaults for common video encoding scenarios. The settings control various aspects of video encoding including resolution, bitrate, codec selection, and format-specific parameters.

Constructors

BasicVideoSettings()

Initializes a new instance of the VisioForge.Core.Types.FFMPEGEXE.BasicVideoSettings class with default values.

public BasicVideoSettings()

Remarks

The default settings provide a balanced configuration for general video encoding:

  • Bitrate: 2000 kbps (suitable for 720p video)
  • MaxBitrate: 4000 kbps (allows peaks for complex scenes)
  • MinBitrate: 1800 kbps (ensures minimum quality)
  • Width/Height: 0 (preserves source resolution)
  • AspectRatio: 0:0 (preserves source aspect ratio)
  • Interlace: false (progressive scan)
  • TVSystem: None (no specific broadcast standard)
  • Encoder: H.264 (widely supported, efficient codec)
When Width or Height is set to 0, FFMPEG will preserve the source video dimensions. These defaults work well for web video and general distribution.