[go: up one dir, main page]

Crate re_video

Crate re_video 

Source
Expand description

Video decoding library.

Re-exports§

pub use re_mp4::TrackId;
pub use re_mp4::TrackKind;
pub use re_span::Span;
pub use stable_index_deque::StableIndexDeque;
pub use time::Time;
pub use time::Timescale;

Structs§

AnnexBStreamState
Chunk
One chunk of encoded video data, representing a single crate::SampleMetadata.
DecodeSettings
Settings for video decoding.
FFmpegVersion
A successfully parsed FFmpeg version.
Frame
One decoded video frame.
FrameContent
Data for a decoded frame on native targets.
FrameInfo
Meta information about a decoded video frame, as reported by the decoder.
GroupOfPictures
A Group of Pictures (GOP) always starts with an I(DR)-frame, followed by delta-frames.
SampleMetadata
A single sample in a video.
SamplesStatistics
Meta informationa about the video samples.
VideoDataDescription
Description of video data.
VideoEncodingDetails
Various information about how the video was encoded.

Enums§

ChromaSubsamplingModes
Chroma subsampling mode.
DecodeError
DecodeHardwareAcceleration
How the video should be decoded.
DetectGopStartError
Failure reason for detect_gop_start.
FFmpegError
FFmpegVersionParseError
GopStartDetection
Result of a successful GOP detection.
PixelFormat
Pixel format/layout used by FrameContent::data.
VideoCodec
The basic codec family used to encode the video.
VideoDeliveryMethod
Distinguishes static videos from potentially ongoing video streams.
VideoLoadError
Errors that can occur when loading a video.
YuvMatrixCoefficients
Yuv matrix coefficients used by PixelFormat::Yuv.
YuvPixelLayout
Pixel layout used by PixelFormat::Yuv.
YuvRange
Yuv value range used by PixelFormat::Yuv.

Traits§

AsyncDecoder
Interface for an asynchronous video decoder.

Functions§

build_info
Returns information about this crate
detect_gop_start
Try to determine whether a frame chunk is the start of a GOP.
ffmpeg_download_url
Download URL for the latest version of FFmpeg on the current platform. None if the platform is not supported.
new_decoder
Creates a new async decoder for the given video data.
write_avc_chunk_to_nalu_stream
write_hevc_chunk_to_nalu_stream

Type Aliases§

DecodeResult
FrameResult
GopIndex
Index used for referencing into VideoDataDescription::gops.
SampleIndex
Index used for referencing into VideoDataDescription::samples.