Add helpers for converting between seconds and frames.