|
发表于 2022-1-20 10:00:33
只看该作者
5#
执行
ffmpeg -f rtsp -rtsp_transport tcp -i "rtsp://127.0.0.1:8554/H264_stream_0" -i "rtsp://127.0.0.1:8555/audio_stream_0" -c copy -f flv "rtmp://192.168.1.101/live/mainstream"
出现这个错误
Input #0, rtsp, from 'rtsp://127.0.0.1:8554/H264_stream_0':
Metadata:
title : rtsp_demo
Duration: N/A, start: 0.941667, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(yuv420p) (progressive), 800x1280, 30 fps, 26.67 tbr, 90k tbn, 60 tbc
Input #1, rtsp, from 'rtsp://127.0.0.1:8555/audio_stream_0':
Metadata:
title : rtsp_demo
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #1:0: Audio: aac (LC), 16000 Hz, stereo, fltp
[tcp @ 0x765b0] Connection to tcp://192.168.1.101:1935 failed: Connection refused
[rtmp @ 0x5bb30] Cannot open connection tcp://192.168.1.101:1935
rtmp://192.168.1.101/live/mainstream: Connection refused
请问这是什么原因
|
|