Struct ffprobe::Stream[][src]

pub struct Stream {
Show 46 fields pub index: i64, pub codec_name: Option<String>, pub sample_aspect_ratio: Option<String>, pub display_aspect_ratio: Option<String>, pub color_range: Option<String>, pub color_space: Option<String>, pub bits_per_raw_sample: Option<String>, pub channel_layout: Option<String>, pub max_bit_rate: Option<String>, pub nb_frames: Option<String>, pub codec_long_name: Option<String>, pub codec_type: Option<String>, pub codec_time_base: Option<String>, pub codec_tag_string: String, pub codec_tag: String, pub sample_fmt: Option<String>, pub sample_rate: Option<String>, pub channels: Option<i64>, pub bits_per_sample: Option<i64>, pub r_frame_rate: String, pub avg_frame_rate: String, pub time_base: String, pub start_pts: Option<i64>, pub start_time: Option<String>, pub duration_ts: Option<i64>, pub duration: Option<String>, pub bit_rate: Option<String>, pub disposition: Disposition, pub tags: Option<StreamTags>, pub profile: Option<String>, pub width: Option<i64>, pub height: Option<i64>, pub coded_width: Option<i64>, pub coded_height: Option<i64>, pub closed_captions: Option<i64>, pub has_b_frames: Option<i64>, pub pix_fmt: Option<String>, pub level: Option<i64>, pub chroma_location: Option<String>, pub refs: Option<i64>, pub is_avc: Option<String>, pub nal_length: Option<String>, pub nal_length_size: Option<String>, pub field_order: Option<String>, pub id: Option<String>, pub side_data_list: Vec<SideData>,
}

Fields

index: i64codec_name: Option<String>sample_aspect_ratio: Option<String>display_aspect_ratio: Option<String>color_range: Option<String>color_space: Option<String>bits_per_raw_sample: Option<String>channel_layout: Option<String>max_bit_rate: Option<String>nb_frames: Option<String>codec_long_name: Option<String>codec_type: Option<String>codec_time_base: Option<String>codec_tag_string: Stringcodec_tag: Stringsample_fmt: Option<String>sample_rate: Option<String>channels: Option<i64>bits_per_sample: Option<i64>r_frame_rate: Stringavg_frame_rate: Stringtime_base: Stringstart_pts: Option<i64>start_time: Option<String>duration_ts: Option<i64>duration: Option<String>bit_rate: Option<String>disposition: Dispositiontags: Option<StreamTags>profile: Option<String>width: Option<i64>height: Option<i64>coded_width: Option<i64>coded_height: Option<i64>closed_captions: Option<i64>has_b_frames: Option<i64>pix_fmt: Option<String>level: Option<i64>chroma_location: Option<String>refs: Option<i64>is_avc: Option<String>nal_length: Option<String>nal_length_size: Option<String>field_order: Option<String>id: Option<String>side_data_list: Vec<SideData>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.