VDecimate additions

Technically the bug fix should be the first commit and the rearranging should be separate from metrics output, but changing these things now sounds like too much effort.

I have no idea if the frame durations should be modified *this* way. Is VDecimate ever going to be fed VFR video?