# how to stream videos directly from vlc to wowza media server

**URL:** <https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108>\
**Category:** Wowza Streaming Engine\
**Created:** [June 27, 2012, 11:28am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108 "2012-06-27T11:28:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 27, 2012, 11:28am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/1 "2012-06-27T11:28:56Z")

</div>

Hi im confused in how use wowza for video streaming, example i want to play a video en my local pc and broadcast that to wowza server so it can be seen by other people via flash jwplayer something like that. How i can do that? or if i can use another program to stream video like winamp i dont know.

thanks

pd: at the moment i can just stream localhost ☹ i mean in vlc i put streaming to rtsp but when i put rtsp://myip:port etc in vlc doesnt work just if i put localhost, my wowza is not in the same pc is on a server i want to stream from my pc a video to my wowza live

thanks

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 27, 2012, 10:42pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/2 "2012-06-27T22:42:14Z")

</div>

This guide shows how to stream a video file from your computer to mpeg-ts URL:

[https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Then you follow this guide to setup application to re-stream from mpeg-ts source

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)

Then you can use Wowza example LiveVideoStreaming player, or JW Player or other player to playback the stream from Wowza

[https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server](https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 12:44pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/3 "2012-06-28T12:44:42Z")

</div>

In the VLC commmand use the IP address of the server Wowza is intalled on, and for playback use the loop back address 127.0.0.1

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 4:11pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/4 "2012-06-28T16:11:07Z")

</div>

Just change:

dst=127.0.0.1

To:

dst=[wowza-address]

Then re-stream from 127.0.0.1:10000 in Wowza.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 4:40pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/5 "2012-06-28T16:40:04Z")

</div>

What is the source? The first arg (“udp://localhost:1234”) should be the source.

Are you trying to stream from a file? The first examples in this post use a file source:

[https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Or if the source is an IP camera use the rtsp url of the camera. If the source is an mpeg-ts stream you would use a udp url as in your last post.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 5:02pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/6 "2012-06-28T17:02:03Z")

</div>

Exactly what do you want to play in VLC and stream to Wowza? What is the source, is it a video file? An IP camera? A webcam?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 5:15pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/7 "2012-06-28T17:15:51Z")

</div>

Well, in my test with the lastest version of VLC (2.0.1) it crashes for me too. dang. This happens sometimes with VLC. It still works in 1.1.10 though. Old versions of VLC are located here:

[http://download.videolan.org/pub/videolan/vlc/](http://download.videolan.org/pub/videolan/vlc/)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 6:44pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/8 "2012-06-28T18:44:40Z")

</div>

No need for VLC really, in this case if there is no transcoding necessary, you can do that all in Wowza. Take a look at this example:

[https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 6:55pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/9 "2012-06-28T18:55:32Z")

</div>

You’re welcome, glad I could help

Richard

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 27, 2012, 9:09pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/10 "2012-06-27T21:09:55Z")

</div>

> This guide shows how to stream a video file from your computer to mpeg-ts URL:
> 
> [Publish a live stream from an MPEG-TS encoder](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)
> 
> Then you follow this guide to setup application to re-stream from mpeg-ts source
> 
> [Publish a live stream from an MPEG-TS encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)
> 
> Then you can use Wowza example LiveVideoStreaming player, or JW Player or other player to playback the stream from Wowza
> 
> [https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server](https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server)
> 
> Richard

but that first tutorial says: To get started, install the VideoLAN VLC media player for your platform on the same machine running Wowza Media Server 2

i have vlc in my personal pc but my wowza server is on a linux server far away ☹ how i can do

thanks

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 10:06am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/11 "2012-06-28T10:06:51Z")

</div>

> In the VLC commmand use the IP address of the server Wowza is intalled on, and for playback use the loop back address 127.0.0.1
> 
> Richard

sorry but how can be:

RTSP/RTP camera:

vlc -vvv rtsp://192.168.1.22/mycamera --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux=ts}”

i need that i changed rtsp://192.168.1.22/mycamera for rtsp://my-pc-ip/video and dst=127.0.0.1 for dst=ip-of-wowza is it wrong? my goal is to stream from my vlc a test video to wowza to serve it via jwplayer

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 10:09am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/12 "2012-06-28T10:09:42Z")

</div>

also when i put the command in command line i open in vlc a video but crashs ☹

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 10:13am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/13 "2012-06-28T10:13:42Z")

</div>

sorry for many questions but rtsp://192.168.1.22/mycamera that line what should i put? then when i paste the command and open a video inside that same vlc to stream?

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 10:25am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/14 "2012-06-28T10:25:12Z")

</div>

ok i think i understand i have to use:

MPEG-TS stream:

vlc -vvv udp://localhost:1234 --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,port=10000,mux=ts}”

that method i change udp://localhost:1234 to udp://localhost:1935 then dst=127.0.0.1 to my wowza ip and then created a .stream file with udp://0.0.0.0:10000 but then in vlc how do i stream? i start vlc with that commando then whats next?

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 10:43am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/15 "2012-06-28T10:43:11Z")

</div>

> What is the source? The first arg (“udp://localhost:1234”) should be the source.
> 
> Are you trying to stream from a file? The first examples in this post use a file source:
> 
> [Publish a live stream from an MPEG-TS encoder](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)
> 
> Or if the source is an IP camera use the rtsp url of the camera. If the source is an mpeg-ts stream you would use a udp url as in your last post.
> 
> Richard

ok here is what im trying to do: i want to play something in vlc and send it to wowza then with wowza i can put it on jwplayer to stream it which method should i use for what im trying to do because when i use vlc gui for stream i set rtsp and i can do what i said but just localhost not external

i mean i want to stream live with my vlc like a playlist, not just a file

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 11:02am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/16 "2012-06-28T11:02:53Z")

</div>

> Exactly what do you want to play in VLC and stream to Wowza? What is the source, is it a video file? An IP camera? A webcam?
> 
> Richard

videos

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 11:03am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/17 "2012-06-28T11:03:55Z")

</div>

i cant configure something so it streams a playlist of 10 videos for example

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 11:04am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/18 "2012-06-28T11:04:58Z")

</div>

for example i tried a video .mkv

vlc -vvv “H:\Videos\Aldo\_Ranks-Goza\_Tu\_Vida-DVDRip-x264-SP-2009-507ViDz\Aldo\_Ranks-Goza\_Tu\_Vida-DVDRip-x264-SP-2009-507ViDz.mkv” --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=wowza-ip-here,port=10000,mux=ts}”

but vlc crashes

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 11:31am UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/19 "2012-06-28T11:31:53Z")

</div>

im going to try with old version, another question so i cant do like streaming live with vlc with my videos i mean i put a list of videos like playlist to stream ? because when i use vlc gui rtsp server stream i do can stream live but i just can see it localhost not externally

---

<div class="post-metadata">

**Author:** ![Alexis\_Gaitan](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alexis\_Gaitan](https://community.wowza.com/u/Alexis_Gaitan)\
**Post date:** [June 28, 2012, 12:46pm UTC](https://community.wowza.com/t/how-to-stream-videos-directly-from-vlc-to-wowza-media-server/38108/20 "2012-06-28T12:46:57Z")

</div>

thanks very much worked with old version of vlc thanks for your time and great support ill appreciate
