Wrapper for ffmpeg for live broadcasting