Add --input-res CLI parameter.

- Also set default width and height to 0 because it makes no sense to assume
  dimensions. It's kind of like defaulting to the most common altitude when
  the altimeter is broken.
- Add config_validate to have a place for checks on overall cfg state.
Make encoder reconstruction obey --debug.
Add video dimensions to the filename of encoder reconstruction.