shellscripts for live streaming by ffmpeg