Table of Contents

Namespace VisioForge.Core.MediaBlocks.VideoEncoders

Classes

AV1EncoderBlock

AV1 encoder block for next-generation video compression with superior efficiency and quality. This block provides advanced AV1 (AOMedia Video 1) encoding capabilities offering up to 50% better compression efficiency compared to H.264 while maintaining equivalent visual quality. Features hardware acceleration support, adaptive bitrate control, and advanced psychovisual optimization. Essential for streaming services, video delivery platforms, and applications requiring optimal bandwidth utilization with future-proof codec technology. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

DVEncoderBlock

DV (Digital Video) encoder block for professional video production and broadcast applications. This block provides DV video encoding capabilities for digital camcorder formats, offering frame-accurate editing, professional broadcast quality, and compatibility with DV equipment. DV encoding uses intra-frame compression at a fixed bitrate of 25 Mbps (SD-DV) providing excellent quality for standard definition video production workflows.

Key features:

  • Fixed bitrate encoding at 25 Mbps (SD) or 50/100 Mbps (HD)
  • Intra-frame compression for frame-accurate editing
  • 4:1:1 color sampling (NTSC) or 4:2:0 (PAL)
  • Support for DV25, DVCPRO, DVCPRO50, and DVCPRO HD
  • Professional broadcast quality
  • FireWire (IEEE 1394) compatibility
  • Timecode support for professional editing

Common use cases:

  • Digital camcorder recording and playback
  • Professional video editing workflows
  • Broadcast television production
  • Video archival in broadcast facilities
  • Non-linear editing system integration
  • FireWire video capture and output

While DV is considered legacy for new productions, it remains important for compatibility with existing DV equipment, tape archives, and professional broadcast workflows requiring frame-accurate editing. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

GIFEncoderBlock

GIF (Graphics Interchange Format) encoder block for creating animated GIF images from video streams. This block provides GIF encoding capabilities for generating animated images suitable for web content, social media, documentation, and visual demonstrations. Features advanced color quantization, dithering options, and frame optimization for efficient file sizes while maintaining visual quality.

Key features:

  • 256-color palette per frame with advanced quantization
  • Temporal dithering for smoother color transitions
  • Frame optimization and delta encoding
  • Variable frame rates and loop control
  • Transparency support for overlay effects
  • LZW compression for efficient file sizes
  • Interlaced GIF support for progressive loading

Common use cases:

  • Social media content and memes
  • Product demonstrations and tutorials
  • Email marketing animations
  • Documentation and help files
  • Web banner advertisements
  • UI/UX prototypes and mockups
  • Screen recordings and demos

Note: GIF format limitations include 256 colors per frame and larger file sizes compared to modern video formats. Consider frame rate reduction and resolution optimization for web use. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

H264EncoderBlock

H.264/AVC encoder block for industry-standard video compression with broad compatibility. This block provides comprehensive H.264 encoding capabilities with support for multiple hardware acceleration platforms including NVIDIA NVENC, AMD AMF, Intel QSV, and Apple VideoToolbox. Features adaptive bitrate control, multiple profile support (Baseline, Main, High), and optimized encoding for various use cases from streaming to broadcast. Essential for universal video compatibility across devices, platforms, and streaming services. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

HEVCEncoderBlock

HEVC/H.265 encoder block for high-efficiency video compression with superior quality-to-bitrate ratio. This block provides advanced HEVC encoding capabilities offering up to 50% better compression efficiency compared to H.264 while maintaining equivalent visual quality. Features hardware acceleration support via NVIDIA NVENC, AMD AMF, and Intel QSV, with advanced encoding options including HDR support, 4K/8K encoding, and sophisticated rate control algorithms. Essential for 4K content delivery, bandwidth-constrained applications, and next-generation video streaming services. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

MJPEGEncoderBlock

Motion JPEG (MJPEG) encoder block for creating frame-by-frame compressed video streams. This block provides MJPEG encoding capabilities where each video frame is independently compressed as a JPEG image, offering frame-accurate editing, low latency streaming, and simplified decoding. Features optional callback mode for real-time frame capture and analysis without requiring downstream processing.

Key features:

  • Independent frame compression (no inter-frame dependencies)
  • Variable JPEG quality control (0-100)
  • Frame-accurate editing capability
  • Low latency encoding and decoding
  • Optional callback mode for frame capture
  • Hardware acceleration support
  • Wide compatibility across platforms

Common use cases:

  • IP camera streaming (security/surveillance)
  • Video editing and post-production
  • Medical imaging systems
  • Machine vision applications
  • Real-time frame analysis
  • Network video recording (NVR)
  • Digital signage systems

While MJPEG requires more bandwidth than inter-frame codecs, it excels in applications requiring frame independence, editing flexibility, and processing simplicity. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

MPEG2EncoderBlock

MPEG-2 video encoder block for broadcast-quality video compression with widespread compatibility. This block provides professional MPEG-2 encoding capabilities designed for broadcast television, DVD authoring, and legacy video systems. Features comprehensive profile and level support, advanced rate control algorithms, and field/frame encoding modes. Essential for broadcast delivery, DVD production, digital television, and professional video workflows requiring MPEG-2 compatibility and broadcast-standard quality. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

MPEG4EncoderBlock

MPEG-4 video encoder block for efficient video compression with advanced features and scalability. This block provides MPEG-4 Part 2 encoding capabilities offering improved compression efficiency compared to MPEG-2 with support for advanced features like object-based coding, scalability, and error resilience. Features configurable quality settings, motion estimation algorithms, and rate control modes. Essential for streaming applications, mobile video, and scenarios requiring flexible video compression with moderate bandwidth requirements. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

PNGEncoderBlock

PNG encoder block for efficient PNG image compression with high quality and advanced features. This block provides PNG encoding capabilities using the rspngenc (Rust PNG encoder) GStreamer element offering superior compression efficiency and performance compared to traditional PNG encoders. Features configurable compression levels, filter types, and metadata handling.

Key features:

  • Rust-based implementation for optimal performance
  • Configurable compression levels (0-9)
  • Multiple filter types for optimal compression
  • PNG metadata and info chunk handling
  • Lossless compression maintaining image quality
  • Support for transparency and alpha channels
  • Efficient memory usage and processing

Common use cases:

  • High-quality image archival and storage
  • Lossless video frame extraction
  • Scientific and medical image processing
  • Web content requiring transparency
  • Screenshot and screen capture applications
  • Digital photography workflows
  • Document scanning and processing

The PNG format provides excellent compression for images with sharp edges, text, and areas of solid color while preserving perfect image quality. Consider JPEG for photographic content where slight quality loss is acceptable. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

TheoraEncoderBlock

Theora encoder block for open-source video compression designed for web streaming and multimedia applications. This block provides Theora video encoding capabilities, part of the Xiph.Org Foundation's patent-free multimedia suite. Theora offers competitive compression efficiency with royalty-free licensing, making it ideal for open-source projects, educational content, and applications requiring unrestricted codec usage.

Key features:

  • Patent-free and royalty-free compression
  • Variable bitrate (VBR) and constant bitrate (CBR) modes
  • Temporal and spatial scalability
  • Alpha channel support for transparency
  • Adaptive quantization for optimal quality
  • Two-pass encoding for efficiency
  • Web-friendly streaming capabilities

Common use cases:

  • Open-source video platforms and applications
  • Educational and academic content distribution
  • Web-based video streaming (OGV format)
  • Embedded systems with licensing constraints
  • Non-commercial video applications
  • HTML5 video with OGG container
  • Cross-platform multimedia solutions

While newer codecs like VP8/VP9 and AV1 have largely superseded Theora for new applications, it remains valuable for legacy compatibility and environments where patent-free codecs are required. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

VPXEncoderBlock

VPX encoder block for VP8/VP9 open-source video compression optimized for web streaming. This block provides comprehensive VP8 and VP9 encoding capabilities using Google's WebM codec family. VP9 offers significantly improved compression efficiency over VP8 and comparable quality to H.265 while remaining royalty-free. Features adaptive bitrate control, temporal layering, and optimized encoding for web delivery. Essential for YouTube, WebRTC, streaming platforms, and applications requiring high-quality, royalty-free video compression for web distribution. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

WMVEncoderBlock

WMV (Windows Media Video) encoder block for Microsoft's proprietary video compression standard. This block provides WMV encoding capabilities using the VC-1 codec, offering excellent compression efficiency and quality optimized for Windows platforms and Microsoft ecosystem applications. Features advanced rate control, multiple encoding profiles, and seamless integration with Windows Media Player and Microsoft streaming technologies.

Key features:

  • VC-1 codec compression with multiple profiles (Simple, Main, Advanced)
  • Variable bitrate (VBR) and constant bitrate (CBR) encoding modes
  • Advanced rate control algorithms
  • Support for HD content up to 1080p
  • Temporal and spatial scalability
  • B-frame encoding for improved compression
  • Windows Media DRM integration capability

Common use cases:

  • Windows Media Player content distribution
  • Microsoft Silverlight streaming applications
  • Corporate video delivery on Windows networks
  • Xbox and Windows device playback
  • Legacy Windows media workflows
  • ASF container video content
  • Microsoft streaming services integration

While WMV has been largely superseded by newer standards like H.264 and H.265, it remains important for Windows-specific applications and legacy system compatibility where Microsoft codec support is guaranteed. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.