ffmpeg fps no longer accurate, also some cleaning