Open matvp91 opened 3 months ago
Now that we have support for channels
in audio, these should be optional. The same goes for language
, we'd rather read it from ffprobe
by looping over the different streams. If there's metadata or channels num in the input metadata, we'd rather pick that one.
Default to 2 channels num, and language equals "unk" when it could not be extracted. We don't want to be too harsh on throwing exceptions when input metadata is not available.
Eg; we're not probing the input so if we use a 720p input file and specify 1080p, it'll upscale for no reason. We should ffprobe the input files in order to adjust the output streams accordingly.