Structs

  • This is a virtual object that represents two aligned times.
  • Decode video files and streams.
  • Decoder part of a split Decoder and Reader.
  • Encodes frames into a video stream.
  • Holds a logical combination of encoder settings.
  • A wrapper type for ffmpeg options.
  • Represents a stream packet.
  • Video reader that can read from files.
  • Represents a muxer that muxes into the RTP format and streams the output over RTP.
  • Holds transferable stream information. This can be used to duplicate stream settings for the purpose of transmuxing or transcoding.
  • Represents a time or duration.
  • A parsed URL record.
  • File writer for video files.

Enums

  • Represents video I/O Errors. Some errors are generated by the ffmpeg backend, and are wrapped in BackendError.
  • Wrapper type for any valid video source. Currently, this could be a URI, file path or any other input the backend will accept. Later, we might add some scaffolding to have stricter typing.
  • Represents the possible resize strategies.
  • Buffer-form RTP packet, can be either a normal RTP payload or an RTCP packet (a sender report).

Traits

  • Any type that implements this can write video packets.

Functions

  • Initialize global ffmpeg settings. This also intializes the logging capability and redirect it to tracing.

Type Aliases

  • Type alias for a byte buffer.
  • Represents a muxer that writes to a buffer.
  • Represents a muxer that writes to a file.
  • Represents a muxer that writes to a packetized buffer.
  • Re-export internal AvPixel as PixelFormat for callers.
  • Represents borrowed byte stream representations of the H264 stream Picture Parameter Sets (PPSs) as defined in Section 7.3.2.2 in the Recommendation H.264.
  • Re-export internal AvFrame for caller to use.
  • Represents a borrowed byte stream representation of an H264 stream Sequence Parameter Set (SPS) as defined in Section 7.3.2.1 in the Recommendation H.264.