用ffmpeg推流失败
Closed this issue · 2 comments
zboya commented
------ rtsp client connection[[::1]:52062] : get request ------
SETUP rstp://localhost:8554/test/streamid=0 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;client_port=21690-21691;mode=record
Cseq: 3
User-Agent: Lavf57.41.100
------ Session[[::1]:52062] : set response ------
RTSP/1.0 200 OK
Cache-Control: no-cache
CSeq: 3
Transport: RTP/AVP/UDP;unicast;client_port=21690-21691;mode=record
Session: 1
Server: XVideoStreamServer
Exit signals by rtsp
------ Session[[::1]:52062] : closed ------
推流命令:ffmpeg -re -i source/test.flv -c copy -f rtsp rstp://localhost:8554/test
NiuStar commented
已经解决,请使用命令:ffmpeg.exe -i test.mp4 -c copy -rtsp_transport tcp -f rtsp rtsp://localhost:8554/test.sdp
暂时不支持UDP传输
NiuStar commented
感谢支持