Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FFMPEG RTMP streaming to WOWZA server with credentials

I would like to stream my webcam using FFMPEG (on Windows) to a Wowza server. The Wowza server has several applications defined. Each has its own credentials (user name and password).

I'm using the following command line:

ffmpeg -f dshow -i video="Integrated Webcam" -s 512x288 -vcodec libx264 -b:v 1024k -pix_fmt yuv420p -f flv rtmp://<wowza server address>:1935/appname/streamname

Yet the Wowza server fails to get the stream. What am I missing here? Should I add the credentials to Wowza's applications? If so, what is the URL format that will allow me to do so?

Thanks.

like image 640
Burgaz Avatar asked Oct 21 '22 23:10

Burgaz


1 Answers

Replace the url with this

rtmp://username:password@:1935/appname/streamname

like image 76
Hassan Ejaz Avatar answered Oct 24 '22 10:10

Hassan Ejaz