Open in03 opened 2 years ago
Mapping ffmpeg's -formats
to our own conditional logic may prove troublesome. It would probably be easier to have our own whitelist of supported input formats in a separate user-editable file. Add some documentation for explanation and then let the user determine what input formats they'll handle.
Enhancement Proposal
Unsupported file formats fail silently in the FFmpeg progress implementation at the moment. That's something that should be fixed, and its own issue! Along with that though is the consideration that unsupported file formats should be detected in the queuing process when other user prompts may appear.
It could easily be included as a handler along with the other prompts that appear on screen when filtering jobs. Since the same version of ffmpeg should be installed with all like versions of rprox, the version constrain should be enough to ensure that ffmpeg installed on the queuer's machine will support the exact same list of codecs as the worker's machine. This means we can run
ffmpeg -formats
and fail any jobs with formats that aren't in the list.There may be some exceptions however! R3D for example is included, but only up to version 3 is supported. All new Red footage is redcode v4.