How to use VLC as a live stream encoder with Wowza Streaming Engine (MPEG-TS)

This article explains how to use the VideoLAN VLC media player as a live video and audio encoder with Wowza Streaming Engine™ media server software. This example streams sample.mp4 using UDP to a multicast address and then pulls that stream to a live application.

VLC configuration

If you haven't done so already, install the VideoLAN VLC media player for your platform on the same computer running Wowza Streaming Engine software or Wowza Media Server software.

To set up VLC as a live stream encoder:
  1. On the VLC media player Media menu, click Stream. The Open Media dialog box appears.
  2. On the File tab, click Add , select the location of a video file (or use [install-dir]/content/sample.mp4), and then click Open.
  3. Click Stream, and then click Next to use the Stream Output wizard.
  4. Select UDP (legacy) as the stream Destination.
  5. Select Display locally, and then click Add. This plays the video locally in your VLC media player as it's streaming.
  6. Enter as the Address and 10000 as the Base port, and then click Next.
  7. Select Activate Transcoding, and then select Video - H.264 + MP3 (MP4) as the video and audio codec Profile. This default profile produces a low quality stream that should be playable on most playback devices and systems. To customize the stream's Bitrate, Quality, Frame Rate, and Resolution, click Edit selected profile or Create a new profile, customize the codec settings, and then click Save.
  8. Click Next, and then click Stream
  • The sample.mp4 file is about six minutes long. VLC will stop streaming at the end so you may have to restart the stream or enable looping during configuration and testing.
  • To host VLC on a different computer than the one hosting the Wowza media server, use the IP address of the server running the Wowza media server and any destination UDP port when entering the Address and Base port into VLC's Stream Output wizard. Be sure the specified UDP port is open on any routers or firewalls between the server running VLC and the Wowza media server.

Live application configuration

Next, follow the instructions in How to publish and play a live stream (MPEG-TS based encoder) to configure the live application, publish the VLC stream, and test stream playback.

When adding a new stream file to the live application, enter a Stream URI that matches the VLC stream URI that you entered as the Address in the Stream Output wizard (udp://
Note: VLC can also be used to transcode an RTSP, native RTP, or MPEG-TS stream. To use a different protocol, select a different Destination in the Stream Output and follow the appropriate live streaming tutorial for that source.

Originally Published: 10-01-2010.
Updated: for Wowza Streaming Engine on 06-29-2015.

If you're having problems or want to discuss this article, post in our forum.