got it so that ffmpeg can be stopped by clicking a stop icon in the notification area