参考:
https://www.cnblogs.com/han-guang-xue/p/16056041.html
推流:
在ubuntu,./zhaolei-chengdu.mp3为本地音频
ffmpeg -re -i ./zhaolei-chengdu.mp3 -vcodec h264 -f rtp_mpegts rtp://127.0.0.1:10000
播放:需要等待一会儿
ffplay -protocol_whitelist "file,udp,rtp" rtp://127.0.0.1:10000