Fix audio timestamps.
Very basic CTS calculation.

Probably fails of x264 ever decides to give a negative number.