RTMP upload: application not connecting

RTMP upload: application not connecting

Support ForumCategory: Installation and Basic OperationRTMP upload: application not connecting
vbeco asked 8 years ago
I am testdriving EvoStream. My first test case would be a single RTMP broadcaster pushing a stream to the server. I found in the forums that the following URL should work: rtmp://Address.Of.EMS/live/SomeLocalStreamName … but nothing happens.   I am using the following FFMPEG command (it works flawlessly if the output is a file): ffmpeg -f video4linux2 -s 1280×720 -i /dev/video0 \
-g 30 -vsync cfr -r 30 -vcodec libx264 -vb 1500k -pix_fmt yuv420p \
-tune zerolatency -preset ultrafast -profile:v main -level 31 \
-f flv -muxdelay 0.1 “rtmp://bencedemo/live/myStream”   Wireshark shows that RTMP connection builds up (handshake done), but there is no answer from the server after the connect(‘live’) command. The log files show nothing, running tail -f evos* gives no reaction.   I also tried prefixing RTMP URL with user1:password1@ also tried changing auth.xml to false.

1 Answers
Don answered 8 years ago
Hi vbeco,

You can use the following ffmpeg command to stream your webcam to an EMS on your localhost:
ffmpeg -f video4linux2 -i /dev/video0 -g 30 -vsync cfr -r 30 -vcodec libx264 -vb 1500k -pix_fmt yuv420p -tune zerolatency -preset ultrafast -profile:v main -level 31 -muxdelay 0.1 -f flv -metadata streamname=mystream tcp://localhost:6666

You should then be able to view the live stream from EMS using the following command:
ffplay rtmp://localhost/live/mystream

You can check the stream name by connecting to EMS via Telnet:
$ telnet localhost 1222

For more info, check out our online docs at:



Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.