Fixed alignment issue with differing framerates...
Added afps to params.