media-pp 0.2.0

A small, GStreamer-flavored media pipeline library built on FFmpeg. Capture, composite and encode without leaving the GPU, on D3D11 and CUDA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(any(
    feature = "pipewire-audio-capture",
    feature = "pipewire-audio-renderer"
))]
pub(crate) mod pipewire;

/// DMA-BUF -> CUDA import, for `PipeWireScreenCaptureSource`'s GPU capture
/// mode. Needs both features: the buffers come from the PipeWire capture and
/// land in a CUDA frame.
#[cfg(all(feature = "pipewire-screen-capture", feature = "cuda"))]
pub(crate) mod dmabuf_cuda;

/// Camera enumeration, for `V4l2CaptureSource`'s own picker.
#[cfg(feature = "v4l2-capture")]
pub(crate) mod v4l2;