Add getAvailableCodecs and check codecs in _prepare
Add check for codec encoding capability
Add getAvailableFormat, add format check
Only check format/codecs when specified
Fix capability detection not handling avconv/ffmpeg output differences
Merge pull request #203 from njoyard/add-capabilities

Add codec and format capability helpers