ffmpeg: move ost->frame_rate setting code before the filtergraph stuff