pub enum ElementType {
Show 63 variants
FileDemuxer,
AppSource,
RtspSource,
TestVideoSource,
TestAudioSource,
DxgiCaptureSource,
WgcCaptureSource,
PipeWireAudioCaptureSource,
PipeWireScreenCaptureSource,
WasapiCaptureSource,
MfCaptureSource,
V4l2CaptureSource,
AudioMixer,
AudioMixerInput,
SwVideoCompositor,
CudaVideoCompositor,
D3d11VideoCompositor,
WebRtcPeer,
FrameRateLimiter,
PauseGate,
TimestampOrigin,
ChangeGate,
SwDecoder,
CudaDecoder,
CudaUpload,
CudaDownload,
CudaConverter,
D3d12Decoder,
D3d12Upload,
D3d12Download,
D3d12Scaler,
D3d11Decoder,
D3d11Upload,
D3d11Download,
SwEncoder,
CudaEncoder,
D3d11VideoEncoder,
SwAudioEncoder,
AudioResampler,
AudioVolume,
Pacer,
VideoSynchronizer,
SwScaler,
SwChromaKey,
CudaScaler,
D3d11Scaler,
D3d11ChromaKey,
Tee,
Queue,
FrameCounter,
PacketCounter,
CudaRenderer,
D3d12Renderer,
D3d11Renderer,
PipeWireAudioRenderer,
WasapiRenderer,
RtspSink,
AppSink,
OrtDetector,
HlsMuxer,
FileMuxer,
SegmentedFileMuxer,
Other,
}Expand description
Which kind of element posted a crate::bus::BusEvent — cheap to
compare/match, unlike the accompanying name: Arc<str> (an
instance-level identifier chosen by whoever constructed it, needed
alongside this to tell apart e.g. two Queues in the same pipeline;
see Element::element_type).
Variants§
FileDemuxer
File or container demultiplexer source.
AppSource
Application-fed buffer source.
RtspSource
RTSP network stream source.
TestVideoSource
Synthetic video source.
TestAudioSource
Synthetic audio source.
DxgiCaptureSource
Windows desktop-duplication capture source.
WgcCaptureSource
Windows Graphics Capture window source.
PipeWireAudioCaptureSource
PipeWire audio capture source.
PipeWireScreenCaptureSource
PipeWire screen capture source.
WasapiCaptureSource
Windows WASAPI audio capture source.
MfCaptureSource
Windows Media Foundation camera capture source.
V4l2CaptureSource
Linux V4L2 camera capture source.
AudioMixer
Multi-input audio mixer source.
AudioMixerInput
One input registered with an ElementType::AudioMixer, which is a
Sink in whichever pipeline feeds it rather than part of the mixer’s
own.
Its own variant because it reads as one: an input that called itself
AudioMixer put a mixer at the end of every branch feeding one, and a
topology diagram with four of them in it is a diagram nobody can count
the mixers from.
SwVideoCompositor
CPU video compositor source.
CudaVideoCompositor
CUDA video compositor source.
D3d11VideoCompositor
D3D11 video compositor source.
WebRtcPeer
WebRTC connection driver.
FrameRateLimiter
Packet timestamp rebase filter.
PauseGate
TimestampOrigin
ChangeGate
Video change/rate gate filter.
SwDecoder
FFmpeg software decoder filter.
CudaDecoder
CUDA hardware decoder filter.
CudaUpload
System-memory to CUDA upload filter.
CudaDownload
CUDA to system-memory download filter.
CudaConverter
CUDA pixel-format converter filter.
D3d12Decoder
D3D12 hardware decoder filter.
D3d12Upload
System-memory to D3D12 upload filter.
D3d12Download
D3D12 to system-memory download filter.
D3d12Scaler
D3D12 video scaler filter.
D3d11Decoder
D3D11 hardware decoder filter.
D3d11Upload
System-memory to D3D11 upload filter.
D3d11Download
D3D11 to system-memory download filter.
SwEncoder
Software video encoder filter.
CudaEncoder
CUDA video encoder filter.
D3d11VideoEncoder
D3D11-backed NVENC filter.
SwAudioEncoder
Software audio encoder filter.
AudioResampler
Audio format and rate converter filter.
AudioVolume
Runtime-adjustable audio gain filter.
Pacer
Timestamp-to-wall-clock pacing filter.
VideoSynchronizer
Playback-master-aware video scheduling filter.
SwScaler
CPU video scaler filter.
SwChromaKey
CPU chroma-key filter.
CudaScaler
CUDA video scaler filter.
D3d11Scaler
D3D11 video scaler filter.
D3d11ChromaKey
D3D11 chroma-key filter.
Tee
Dynamic one-to-many branch filter.
Queue
Bounded asynchronous queue filter.
FrameCounter
Diagnostic decoded-frame counter sink.
PacketCounter
Diagnostic compressed-packet counter sink.
CudaRenderer
CUDA video renderer sink.
D3d12Renderer
D3D12 video renderer sink.
D3d11Renderer
D3D11 video renderer sink.
PipeWireAudioRenderer
PipeWire audio renderer sink.
WasapiRenderer
Windows WASAPI audio renderer sink.
RtspSink
RTSP publishing sink.
AppSink
Application callback or channel sink.
OrtDetector
ONNX Runtime object-detection sink.
HlsMuxer
HTTP Live Streaming muxer sink.
FileMuxer
Container file muxer sink — the container is whichever one FFmpeg infers from the output path.
SegmentedFileMuxer
Rotating segmented container file muxer sink.
Other
Anything outside this crate’s own elements — a test double, or a
custom Sink/SourceElement implemented downstream of this
crate. Keeps this enum from needing to grow every time someone
adds their own element.
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
Source§fn clone(&self) -> ElementType
fn clone(&self) -> ElementType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more