-
Notifications
You must be signed in to change notification settings - Fork 54
Streaming to Wowza media server
In order to stream to Wowza media server with UDP/RTP you will need to run Ultragrid and FFPEG (avconv) processes.
First start UltraGrid process (audio and video compression is compulsory):
uv -t <your_video_source> --rtsp-server -c libavcodec:codec=H.264 -s <your_audio_source> --audio-codec A-law
or (new UltraGrid):
uv -t <your_video_source> -s <your_audio_source> --protocol sdp 127.0.0.1
After you run UltraGrid, you can start FFMPEG process. Replace <your_wowza_address> and values. You can also adjust -vb and -ab (video and audio bitrate) values to your needs.
ffmpeg -i rtsp://localhost:8554/ultragrid -pix_fmt yuv420p -vcodec libx264 -vb 1000000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://<your_wowza_address>:<port>?pkt_size=1316
If you started UltraGrid with SDP/HTTP, replace in the above command rtsp://localhost:8554/ultragrid with http://localhost:8554/ug.sdp.
If you have any technical or non-technical question or suggestion please feel free to contact us at