Struct ac_ffmpeg::format::stream::Stream

source ·
pub struct Stream { /* private fields */ }
Expand description

Stream.

Implementations§

Get stream time base.

Provide a hint to the muxer about the desired timebase.

Get the pts of the first frame of the stream in presentation order.

Get the duration of the stream.

Get the number of frames in the stream.

Note

The number may not represent the total number of frames, depending on the type of the stream and the demuxer it may represent only the total number of keyframes.

Get codec parameters.

Get stream id.

Set stream metadata.

Set stream id.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.