wordpress分类名插件,seo网站快速,seo优化方案策划书,网络服务合同法律规定1.搭建视频服务器 smart-rtmpd: smart_rtmpd 是一款 rtmp、rtsp 服务器#xff0c;非常好用#xff0c;解压既运行#xff0c;支持跨平台#xff0c;无任何依赖#xff0c;性能和 SRS 相比不分上下 2.推拉流 下载windows版本ffmpeg,并设置环境变量. 推流
ffmpeg -re -st…1.搭建视频服务器 smart-rtmpd: smart_rtmpd 是一款 rtmp、rtsp 服务器非常好用解压既运行支持跨平台无任何依赖性能和 SRS 相比不分上下 2.推拉流 下载windows版本ffmpeg,并设置环境变量. 推流
ffmpeg -re -stream_loop -1 -i test25m.mp4 -vcodec libx264 -tune zerolatency -preset ultrafast -bsf:v h264_mp4toannexb -g 15 -keyint_min 15 -profile:v baseline -level 3.1 -pix_fmt yuv420p -r 15 -acodec aac -f flv rtmp://192.168.101.42:1935/live/stream拉流
ffplay rtsp://192.168.101.42:8554/live/stream 推流
h264
ffmpeg -re -stream_loop -1 -i test25m.mp4 -vcodec libx264 -tune zerolatency -preset ultrafast -bsf:v h264_mp4toannexb -g 15 -keyint_min 15 -profile:v baseline -level 3.1 -pix_fmt yuv420p -r 15 -acodec aac -f flv rtmp://192.168.101.42:1935/live/1001h265
ffmpeg -re -stream_loop -1 -i test25m.mp4 -vcodec libx265 -acodec aac -f rtsp rtsp://192.168.101.42:8554/live/1002拉流
ffplay rtsp://192.168.101.42:8554/live/1001ffplay rtsp://192.168.101.42:8554/live/1002 一般推拉流视频编码选择h264,音频编码选择aac;如果视频服务器性能更好,以及客户端支持h265,则可以使用h265.h265压缩效率更高,但更耗cpu.