| 25 | |
| 26 | impl Default for FfmpegArgs { |
| 27 | fn default() -> Self { |
| 28 | FfmpegArgs { |
| 29 | fps_limit: 0, |
| 30 | report: false, |
| 31 | send_progress: true, |
| 32 | first_input: String::new(), |
| 33 | second_input: String::new(), |
| 34 | bitrate: u32::default(), |
| 35 | encoder: String::new(), |
| 36 | encoder_args: String::new(), |
| 37 | output_args: NO_OUTPUT.to_string(), |
| 38 | is_vmaf: false, |
| 39 | // the lower the value, the more often the progress bar will update |
| 40 | // but your fps calculations might be a little over-inflated |
| 41 | stats_period: 0.5, |
| 42 | decode: false, |
| 43 | ten_bit: false, |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | impl FfmpegArgs { |