Add flags/parsing to allow running the encoder from the command-line. Improve handling for unspecified file types.
Add flags/parsing to allow running the encoder from the command-line. Improve handling for unspecified file types.