rtmp://avdancedu.com/live/room

ffmpeg -re -i xxx.mp4 -c:v libx264 -preset ultrafast -c:a libfdk_aac -profile:a aac_he_v2 -ar 44100 -ac 2  -f flv rtmp://xxxx/live/streamName

ffplay rtmp://xxxx/live/streamName

ffplay http://xxxx/live/streamName.m3u8

文章来源于腾讯云开发者社区,点击查看原文