ffmpeg -re -i a.mp4 -vcodec libx264 -vprofile baseline -acodec aac -ar 44100 -strict -2 -ac 1 -f flv -s 640x480 -q 10 rtmp://www.realank.com:9999/live/test
ffplay rtmp://www.realank.com:9999/live/test
ffmpeg -f avfoundation -framerate 25 -video_size 320x240 -i 0 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -max_delay 100 -f flv -g 5 -b 700000 -q 10 rtmp://www.realank.com:9999/live/test
ffplay -analyzeduration 10000 rtmp://www.realank.com:9999/live/test
网友评论