Struct x264::Setup[][src]

pub struct Setup { /* fields omitted */ }

Builds a new encoder.

Methods

impl Setup
[src]

Creates a new builder with the specified preset and tune.

Makes the first pass faster.

The video's framerate, represented as a rational number.

The value is in frames per second.

The encoder's timebase, used in rate control with timestamps.

The value is in seconds per tick.

Please file an issue if you know what this does, because I have no idea.

Approximately restricts the bitrate.

The value is in metric kilobits per second.

The lowest profile, with guaranteed compatibility with all decoders.

A useless middleground between the baseline and high profiles.

The highest profile, which almost all encoders support.

Build the encoder.

Trait Implementations

impl Default for Setup
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for Setup

impl !Sync for Setup