Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm looking into developing our video content platform and part of it includes a better way for our users to upload their video content (anything from dvds, flash video, dxid, wmv, etc..) and have it automatically converted, at the moment to mp4(h.264) so that they can use it on the site though our CMS.
So what im basically asking is: What is the best CLI tool for doing this?
MPlayer comes with a tool called MEncoder that does decoding/encoding/recoding etc of videos. Free, open source & cross platform. It's essentially very similar to the already suggested FFmpeg
HandBrake has a pretty powerful command line interface, documented here.
One advantage of this setup is that you can use the HandBrake GUI to configure presets and then just specify a preset name from the CLI to use that particular configuration, instead of having to specify a ton of command line arguments to configure the conversion.