Videorate and videoscale for ffmpeg