jkuri / opencv-ffmpeg-rtmp-stream

OpenCV FFMpeg Live Video Stream over RTMP protocol.
MIT License
209 stars 59 forks source link

No default whitelist set #11

Open xinsuinizhuan opened 1 year ago

xinsuinizhuan commented 1 year ago

avio_open2 false,and log is: [rtmp @ 000002a52cc57440] No default whitelist set [tcp @ 000002a52cc6e9c0] No default whitelist set [tcp @ 000002a52cc6e9c0] Original list of addresses: [tcp @ 000002a52cc6e9c0] Address ::1 port 1935 [tcp @ 000002a52cc6e9c0] Address 127.0.0.1 port 1935 [tcp @ 000002a52cc6e9c0] Interleaved list of addresses: [tcp @ 000002a52cc6e9c0] Address ::1 port 1935 [tcp @ 000002a52cc6e9c0] Address 127.0.0.1 port 1935 [tcp @ 000002a52cc6e9c0] Starting connection attempt to ::1 port 1935 [tcp @ 000002a52cc6e9c0] Starting connection attempt to 127.0.0.1 port 1935 [tcp @ 000002a52cc6e9c0] Connection attempt to ::1 port 1935 failed: Error number -138 occurred [tcp @ 000002a52cc6e9c0] Connection attempt to 127.0.0.1 port 1935 failed: Error number -138 occurred [tcp @ 000002a52cc6e9c0] Connection to tcp://localhost:1935 failed: Error number -138 occurred [rtmp @ 000002a52cc57440] Cannot open connection tcp://localhost:1935

jkuri commented 1 year ago

are you running rtmp server on rtmp://localhost:1935?

xinsuinizhuan commented 1 year ago

Yes.I not run server. Now it is ok! But my rtmp stream is so indistinct, how should i change the param? 图片

jkuri commented 1 year ago

increase resolution to a higher value, the width and height parameters.

xinsuinizhuan commented 1 year ago

increase resolution to a higher value, the width and height parameters.

But the higher and width value equare to the real image value, it to heighter to the real image value?

jkuri commented 1 year ago

sorry, I don't understand your question.