Namespace VisioForge.Core.MediaBlocks.Sinks
Classes
- ASFSinkBlock
-
ASF (Advanced Systems Format) sink block for writing media streams to ASF/WMV/WMA container files.
- AVIOutputBlock
-
AVI multimedia container output block for creating AVI video files with integrated encoding and file writing capabilities. Provides comprehensive AVI file creation with configurable video and audio encoders, supporting H.264/AAC and H.264/MP3 combinations for professional video production, archival storage, and multimedia content creation with industry-standard AVI container format. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- AVISinkBlock
-
Implements a sink block for writing media data to AVI (Audio Video Interleave) container files. Supports multiple audio and video streams with configurable encoding parameters. AVI is a multimedia container format that stores audio and video data in a file container that allows synchronous audio-with-video playback.
- BufferSinkBlock
-
Implements a sink block that captures media data into memory buffers for processing or analysis. Provides frame-by-frame access to video, audio, or raw data through event callbacks.
- DASHSinkBlock
-
DASH (Dynamic Adaptive Streaming over HTTP) sink block for creating adaptive streaming content.
- FDSinkBlock
-
Implements a sink block that writes media data to a file descriptor (Unix-style file handle). Enables writing to pipes, sockets, or other file descriptor-based outputs.
- FLACOutputBlock
-
FLAC (Free Lossless Audio Codec) output block for creating high-quality lossless audio files with professional audio encoding. Provides uncompressed audio archival and professional audio production with configurable FLAC encoding for music production, audio mastering, and high-fidelity audio content creation with industry-standard lossless compression for audiophile-quality audio preservation. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- FacebookLiveOutputBlock
-
Facebook Live streaming output block for real-time broadcast to Facebook Live platform with integrated encoding capabilities. Provides professional live streaming functionality with H.264 video and AAC audio encoding optimized for Facebook's RTMP streaming requirements, enabling content creators to broadcast high-quality live video content directly to Facebook audiences with low-latency streaming protocols. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- FacebookLiveSinkBlock
-
Implements a sink block for streaming live video and audio to Facebook Live. Enables real-time broadcasting to Facebook's streaming platform using RTMP protocol.
- FileSinkBlock
-
Implements a sink block that writes raw media data directly to a file without any container format. Suitable for writing elementary streams or raw data that will be processed later.
- HLSSinkBlock
-
HLS (HTTP Live Streaming) sink block for creating segmented streaming content.
- HTTPMJPEGLiveSinkBlock
-
Implements a sink block that streams video as Motion JPEG (MJPEG) over HTTP. Creates a simple HTTP server that clients can connect to for viewing live video streams.
- KLVFileSinkBlock
-
Implements a sink block for writing KLV (Key-Length-Value) metadata to files. Supports MISB standards for metadata encoding used in surveillance and aerospace applications.
- M4AOutputBlock
-
M4A audio container output block for creating high-quality AAC audio files with MP4 container format. Provides professional audio file creation with configurable AAC encoding for music production, podcasting, and audio content distribution with industry-standard M4A format supporting metadata and chapter information. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- MKVOutputBlock
-
MKV (Matroska Video) multimedia container output block for creating versatile video files with advanced encoding capabilities. Provides comprehensive MKV file creation with support for multiple video encoders (H.264, HEVC, VP8/VP9, AV1) and audio encoders (AAC, MP3, Vorbis, OPUS, Speex) for professional video production, streaming content preparation, and multimedia archival storage with industry-leading container format flexibility. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- MKVSinkBlock
-
MKV (Matroska) sink block for creating highly flexible multimedia container files.
- MOVSinkBlock
-
Implements a sink block for writing media to QuickTime MOV container files. Supports multiple video and audio tracks with Apple-compatible codecs.
- MP3OutputBlock
-
MP3 audio output block for creating widely compatible compressed audio files with professional encoding capabilities. Provides industry-standard MP3 audio file creation with configurable lossy compression for music distribution, podcasting, and audio content creation with broad device compatibility and efficient file sizes for streaming and storage optimization. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- MP4OutputBlock
-
MP4 multimedia container output block for creating industry-standard MP4 video files with integrated encoding capabilities. Provides comprehensive MP4 file creation with configurable video and audio encoders, supporting H.264/H.265 video with AAC/MP3 audio for professional video production, streaming content preparation, and multimedia distribution with broad device compatibility. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- MP4SinkBlock
-
MP4 (MPEG-4 Part 14) sink block for writing media streams to MP4 container files.
- MPEGPSSinkBlock
-
Implements a sink block for creating MPEG Program Stream (MPEG-PS) files. Generates DVD-compatible video files and supports legacy MPEG-1/2 workflows.
- MPEGTSSinkBlock
-
Implements a sink block for creating MPEG Transport Stream (MPEG-TS) files or streams. Supports broadcasting, streaming, and digital TV distribution formats.
- MXFSinkBlock
-
Provides a media sink for writing MXF (Material eXchange Format) files with professional broadcast features.
- NDISinkBlock
-
NDI (Network Device Interface) sink block for broadcasting video over IP networks.
- OGGOpusOutputBlock
-
OGG Opus audio container output block for creating high-quality compressed audio files with modern codec technology. Provides professional audio file creation with configurable OPUS encoding within OGG container for superior audio quality at low bitrates, optimized for voice communication, music streaming, and modern web audio applications with royalty-free codec advantages. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- OGGSinkBlock
-
Provides a media sink for writing OGG container files with Vorbis audio and Theora video streams.
- OGGSpeexOutputBlock
-
OGG Speex output block for creating compressed voice audio files optimized for speech content. This block combines Speex audio encoding with OGG container packaging, providing an efficient solution for voice recording, VoIP applications, and speech archival. Speex is specifically designed for speech compression, offering superior quality at low bitrates compared to general-purpose audio codecs. The OGG container provides an open, patent-free format with excellent streaming capabilities and metadata support.
Key features:
- Ultra-efficient speech compression (2-44 kbps)
- Voice Activity Detection (VAD) for silence suppression
- Variable bitrate (VBR) encoding for optimal quality/size ratio
- Wideband (16 kHz) and ultra-wideband (32 kHz) support
- Acoustic echo cancellation compatibility
- Packet loss concealment for streaming applications
Common use cases:
- Voice recording and dictation systems
- Podcast production with speech-only content
- VoIP and telecommunication applications
- Audio books and spoken word archives
- Voice memo and note-taking applications
- Language learning materials
While Speex has been largely superseded by Opus for new applications, it remains valuable for legacy system compatibility and specific speech-only scenarios where its optimizations provide benefits. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- OGGVorbisOutputBlock
-
OGG Vorbis output block for creating high-quality compressed audio files using the open-source Vorbis codec. This block combines Vorbis audio encoding with OGG container packaging, providing an excellent solution for music distribution, streaming audio, and multimedia content creation. Vorbis offers superior audio quality compared to MP3 at similar bitrates, making it ideal for applications where audio fidelity is paramount. The OGG container provides a patent-free, open standard format with robust streaming capabilities and comprehensive metadata support.
Key features:
- High-quality lossy audio compression (45-500 kbps)
- Superior sound quality at low to medium bitrates
- Variable bitrate (VBR) encoding for optimal quality/size ratio
- Support for sample rates up to 192 kHz
- Multi-channel audio support (mono to 7.1 surround)
- Comprehensive metadata tagging (Vorbis comments)
- Streaming-optimized container format
Common use cases:
- Music distribution and archival
- Game audio assets and soundtracks
- Podcast and audiobook production
- Web audio streaming applications
- Open-source multimedia projects
- Cross-platform audio solutions
Vorbis remains an excellent choice for applications requiring patent-free, high-quality audio compression with broad platform support and superior performance at medium bitrates. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- RTMPSinkBlock
-
RTMP (Real-Time Messaging Protocol) sink block for streaming media to RTMP servers.
- RTSPServerBlock
-
RTSP (Real-Time Streaming Protocol) server sink block that streams audio/video content over a network. This block creates an RTSP server endpoint that clients can connect to for receiving live or recorded media streams. It supports H.264/H.265 video and various audio codecs, providing standard-compliant RTSP streaming with RTP/RTCP transport protocols. The server handles multiple client connections simultaneously, supports RTSP authentication, and provides low-latency streaming suitable for security cameras, live broadcasting, and media distribution. Features include configurable port binding, custom mount points, multicast support, bandwidth management, and client session tracking. Compatible with standard RTSP clients including VLC, FFmpeg, GStreamer, and IP camera viewers. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- SRTMPEGTSSinkBlock
-
Provides a media sink for streaming MPEG-TS content over SRT (Secure Reliable Transport) protocol.
- SRTSinkBlock
-
Provides a media sink for streaming raw data over SRT (Secure Reliable Transport) protocol.
- SeparateOutputBlock
-
Separate output block for independent recording with custom video and audio encoder configuration. Provides isolated recording pipeline with bridge source connections allowing independent recording operations from preview pipeline, enabling simultaneous preview display and background recording with custom encoder blocks and flexible output configuration. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- ShoutcastSinkBlock
-
Provides a media sink for streaming audio to Shoutcast/Icecast servers.
- StreamSinkBlock
-
Provides a media sink that writes data directly to a .NET Stream object.
- WAVSinkBlock
-
WAV sink block for writing uncompressed audio data to WAV (Waveform Audio File Format) files.
- WMVOutputBlock
-
WMV output block for creating Windows Media Video files with integrated WMV video and WMA audio encoding. This block provides comprehensive Windows Media Format support, combining Microsoft's proprietary video and audio codecs in an ASF container. WMV offers excellent compression efficiency and is widely supported on Windows platforms, making it ideal for Windows-centric workflows, corporate environments, and legacy system compatibility.
Key features:
- WMV video compression (VC-1 codec) with multiple profiles
- WMA audio compression with various quality levels
- ASF container with rich metadata support
- DRM (Digital Rights Management) capability
- Variable bitrate (VBR) and constant bitrate (CBR) encoding
- Multiple video profiles (Simple, Main, Advanced)
- Support for HD content up to 1080p
Common use cases:
- Windows Media Player content distribution
- Corporate video presentations and training
- Silverlight streaming applications
- Xbox and Windows device playback
- Legacy Windows media workflows
- Protected content distribution with DRM
While newer formats like H.264/MP4 have largely superseded WMV, it remains valuable for Windows-specific applications and legacy system compatibility where Windows Media support is guaranteed. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- WebMOutputBlock
-
WebM multimedia container output block for creating modern web-optimized video files with integrated encoding capabilities. Provides comprehensive WebM file creation with VP8/VP9 video encoding and Vorbis audio compression optimized for web streaming, HTML5 video playback, and browser compatibility with royalty-free codec support for modern web applications and content delivery. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- WebMSinkBlock
-
WebM sink block for creating WebM container files with VP8/VP9 video and Vorbis/Opus audio.
- YouTubeOutputBlock
-
YouTube Live streaming output block for real-time broadcast to YouTube platform with integrated encoding capabilities. Provides professional live streaming functionality with H.264 video and AAC audio encoding optimized for YouTube's RTMP streaming requirements, enabling content creators to broadcast high-quality live video content directly to YouTube audiences with low-latency streaming protocols. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.
- YouTubeSinkBlock
-
YouTube sink block for live streaming directly to YouTube Live platform.