Struct av1an_cli::Args[][src]

pub struct Args {
Show 34 fields pub input: PathBuf, pub temp: Option<PathBuf>, pub output_file: Option<PathBuf>, pub concat: ConcatMethod, pub quiet: bool, pub verbose: bool, pub logging: Option<String>, pub resume: bool, pub keep: bool, pub chunk_method: Option<ChunkMethod>, pub scenes: Option<PathBuf>, pub split_method: SplitMethod, pub extra_split: usize, pub min_scene_len: usize, pub passes: Option<u8>, pub video_params: Option<String>, pub encoder: Encoder, pub workers: usize, pub force: bool, pub ffmpeg: Option<String>, pub audio_params: Option<String>, pub pix_format: String, pub vmaf: bool, pub vmaf_path: Option<PathBuf>, pub vmaf_res: String, pub vmaf_threads: Option<u32>, pub target_quality: Option<f32>, pub target_quality_method: String, pub probes: u32, pub probing_rate: u32, pub probe_slow: bool, pub min_q: Option<u32>, pub max_q: Option<u32>, pub vmaf_filter: Option<String>,
}
Expand description

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding

Fields

input: PathBuf

Input file or vapoursynth (.py, .vpy) script

temp: Option<PathBuf>

Temporary directory to use

output_file: Option<PathBuf>

Specify output file

concat: ConcatMethod

Concatenation method to use for splits

quiet: bool

Disable printing progress to terminal

verbose: bool

Print extra progress info and stats to terminal

logging: Option<String>

Enable logging

resume: bool

Resume previous session

keep: bool

Keep temporary folder after encode

chunk_method: Option<ChunkMethod>

Method for creating chunks

scenes: Option<PathBuf>

File location for scenes

split_method: SplitMethod

Specify splitting method

extra_split: usize

Number of frames after which make split

min_scene_len: usize

Minimum number of frames in a split

passes: Option<u8>

Specify encoding passes

video_params: Option<String>

Parameters passed to the encoder

encoder: Encoderworkers: usize

Number of workers

force: bool

Force encoding if input args seen as invalid

ffmpeg: Option<String>

FFmpeg commands

audio_params: Option<String>

FFmpeg commands

pix_format: String

FFmpeg pixel format

vmaf: bool

Calculate VMAF after encode

vmaf_path: Option<PathBuf>

Path to VMAF models

vmaf_res: String

Resolution used in VMAF calculation

vmaf_threads: Option<u32>

Number of threads to use for VMAF calculation

target_quality: Option<f32>

Value to target

target_quality_method: String

Method selection for target quality

probes: u32

Number of probes to make for target_quality

probing_rate: u32

Framerate for probes, 1 - original

probe_slow: bool

Use encoding settings for probes

min_q: Option<u32>

Min q for target_quality

max_q: Option<u32>

Max q for target_quality

vmaf_filter: Option<String>

Filter applied to source at vmaf calcualation, use if you crop source

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Returns clap::App corresponding to the struct.

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by StructOpt::clap called on the same type, otherwise it must panic. Read more

Builds the struct from the command line arguments (std::env::args_os). Calls clap::Error::exit on failure, printing the error message and aborting the program. Read more

Builds the struct from the command line arguments (std::env::args_os). Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program, so calling .exit is up to you. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. 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

Converts self into T using Into<T>. Read more

Converts self into a target type. Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Performs the conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Pipes a value into a function that cannot ordinarily be called in suffix position. Read more

Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more

Pipes a dereference into a function that cannot normally be called in suffix position. Read more

Pipes a mutable dereference into a function that cannot normally be called in suffix position. Read more

Pipes a reference into a function that cannot ordinarily be called in suffix position. Read more

Pipes a mutable reference into a function that cannot ordinarily be called in suffix position. Read more

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

Provides immutable access for inspection. Read more

Calls tap in debug builds, and does nothing in release builds.

Provides mutable access for modification. Read more

Calls tap_mut in debug builds, and does nothing in release builds.

Provides immutable access to the reference for inspection.

Calls tap_ref in debug builds, and does nothing in release builds.

Provides mutable access to the reference for modification.

Calls tap_ref_mut in debug builds, and does nothing in release builds.

Provides immutable access to the borrow for inspection. Read more

Calls tap_borrow in debug builds, and does nothing in release builds.

Provides mutable access to the borrow for modification.

Calls tap_borrow_mut in debug builds, and does nothing in release builds. Read more

Immutably dereferences self for inspection.

Calls tap_deref in debug builds, and does nothing in release builds.

Mutably dereferences self for modification.

Calls tap_deref_mut in debug builds, and does nothing in release builds. Read more

Attempts to convert self into T using TryInto<T>. Read more

Attempts to convert self into a target type. 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.