ffmpeg -f avfoundation -framerate 30 -i “0:0” -c:a aac -strict experimental -ac 2 -b:a 96k -ar 44100 -c:v libx264 -pix_fmt yuv420p -profile:v main -level 3.2 -b:v 1.5M -maxrate 2M -bufsize 6M -r 24 -g 72 -f hls -hls_time 2 -hls_list_size 60 -vf scale=-1:720 test.m3u8 ffmpeg -f avfoundation -s 1280x720 -r 24 -i "1:1" -vcodec libx264 -acodec libmp3lame -f mp4 ./20171009.mp4 ffmpeg -f avfoundation -s 1280x720 -r 24 -i "1:1" -vcodec libx264 -acodec libmp3lame -f hls -hls_time 5 -hls_list_size 0 20171009_.m3u8 ffmpeg -re -i 01_csxtl.mp4 -r 24 -c copy -f flv rtmp://127.0.0.1:1935/live/test