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:
- On the VLC media player Media menu, click Stream. The Open Media dialog box appears.
- On the File tab, click Add , select the location of a video file (or use [install-dir]/content/sample.mp4), and then click Open.
- Click Stream, and then click Next to use the Stream Output wizard.
- Select UDP (legacy) as the stream Destination.
- Select Display locally, and then click Add. This plays the video locally in your VLC media player as it's streaming.
- Enter 127.0.0.1 as the Address and 10000 as the Base port, and then click Next.
- 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.
- 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://127.0.0.1:10000).
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.