播放RTSP
ffplay.exe -fflags nobuffer -analyzeduration 100000 -i rtsp://xxx
搭建RTSP SERVER
#服务器参数设置 RTSPPort 8080 RTSPBindAddress 0.0.0.0 HTTPPPort 8080 HTTPBindAddress 0.0.0.0 MaxClients 1000 MaxBandwidth 100000 CustomLog – #源设置 <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 40K #从硬件设备加载流 Launch ./ffmpeg -i /dev/video0 -an ACL allow localhost </Feed> #流设置 <Stream out.mp4> Format rtp NoAudio Feed feed1.ffm VideoCodec libx264 VideoSize 480*272 </Stream>
开启SERVER
ffserver –f ffserver.con
来源:https://www.cnblogs.com/rayfloyd/p/12419133.html