added onStart method that sends ffmpeg command