Remove hardcoded pixel format (#352)

This commit is contained in:
bytedream 2024-04-08 14:03:30 +02:00
parent 1a511e12f9
commit 771594a231

View file

@ -796,10 +796,6 @@ impl Downloader {
command_args.extend([format!("-disposition:s:s:{}", i), "forced".to_string()])
}
// manually specifying the color model for the output file. this must be done manually
// because some Crunchyroll episodes are encoded in a way that ffmpeg cannot re-encode
command_args.extend(["-pix_fmt".to_string(), "yuv420p".to_string()]);
command_args.extend(output_presets);
if let Some(output_format) = self.output_format {
command_args.extend(["-f".to_string(), output_format]);