Function
append_encode_only_args
(
arg_str: &mut String,
bitrate: u32,
encoder: &String,
encoder_args: &String,
)
Source from the content-addressed store, hash-verified
| 191 | } |
| 192 | |
| 193 | fn append_encode_only_args( |
| 194 | arg_str: &mut String, |
| 195 | bitrate: u32, |
| 196 | encoder: &String, |
| 197 | encoder_args: &String, |
| 198 | ) { |
| 199 | arg_str.push_str([" -b:v", bitrate.to_string().as_str()].join(" ").as_str()); |
| 200 | // adding the rate amount to the end of the bitrate |
| 201 | arg_str.push('M'); |
| 202 | arg_str.push_str([" -c:v", encoder.as_str()].join(" ").as_str()); |
| 203 | arg_str.push(' '); |
| 204 | arg_str.push_str(encoder_args.as_str()); |
| 205 | } |
| 206 | |
| 207 | fn append_vmaf_only_args(arg_str: &mut String) { |
| 208 | arg_str.push_str( |
Tested by
no test coverage detected