set ffmpeg in system
fix current pill time logic