encoder: calculate encoded video time in floating point
cli: improve handling of unknown input frame count
Merge with stable
Merge
cmake: improve .hg_archive parsing

Patch submitted by HaaeeD via pull request
yuv: fix --skip behavior for stdin
input: prevent more deadlocks on file read errors
encoder: prevent divide by zero in elapsedVideoTime calculation
cli: improve handling of encoder start failures; no pictures encoded
input: do not use ifstream.good(), use ifstream.ignore() for skipFrames
yuv: set binary mode on stdin on Windows