pub struct Cli {
pub input: PathBuf,
pub output: PathBuf,
pub interpolation_binary: PathBuf,
pub interpolation_model: PathBuf,
pub fps: FPS,
pub temp_dir: PathBuf,
pub max_step_size: NonZeroUsize,
pub interpolation_args: String,
pub reset: ResetData,
pub scene_gt: String,
pub crf: NonZeroUsize,
}Fields§
§input: PathBufPath to the file for which we’ll increase the frame rate
output: PathBuffinal output path if it exists, we’ll try to build on-top of it
interpolation_binary: PathBufAIModel used to generate interpolated frames
interpolation_model: PathBuf§fps: FPSThe number target frame count for the interpolation binary The default will have the interpolation binary change your (most likely 24fps) video to 60fps
temp_dir: PathBufPath to put temporary/intermediate data like ffmpeg generated frames and interpolated frames If the path doesn’t exist, it will be created Perferably a fast m.2 ssd or ramdisk because they are fast
max_step_size: NonZeroUsizeMaximum number of seconds to extract (assuming the scene splits are too big)
interpolation_args: StringExtra args you may want to pass to the interpolation binary
reset: ResetDataClears cached data
scene_gt: StringHow should we split the video up before interpolating If there is a big difference between frames, the interpolation will generate bad frames.
crf: NonZeroUsizehttps://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue
Trait Implementations§
source§impl Args for Cli
impl Args for Cli
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
ArgMatches to self.source§impl Parser for Cli
impl Parser for Cli
§fn try_parse() -> Result<Self, Error<RichFormatter>>
fn try_parse() -> Result<Self, Error<RichFormatter>>
std::env::args_os(), return Err on error.