So you can have multiple configurable outputs based on what the input is. The easiest way to do this is to base this on the extension of the input and replace force_cmd with a map of appropriate commands (perhaps a map of arrays so one file can trigger multiple jobs for different targets?)
this could be super useful for media ingestion in media production workflows (proxies, etc.) I think the full ruby docker image also has imagemagick so you can even convert image types too.
So you can have multiple configurable outputs based on what the input is. The easiest way to do this is to base this on the extension of the input and replace
force_cmdwith a map of appropriate commands (perhaps a map of arrays so one file can trigger multiple jobs for different targets?)this could be super useful for media ingestion in media production workflows (proxies, etc.) I think the full
rubydocker image also hasimagemagickso you can even convert image types too.