Wowza Community

Using VLC with Wowza Pro (native RTP)

Wowza can handle many streams, you don’t need another instance on the same machine.

Richard

Just give each one a unique name, vlc1.sdp, vlc2.sdp, etc.

Richard

Is this two instances of VLC on the same machine? Are there two cameras?

Richard

The first post of this thread is the VLC guide, and for that use case. What part is not working for you?

Flash Media Live Encoder, Quicktime Broadcaster and Wirecast are each much easier then VLC.

Richard

On my home router I forward ports from internet to source of rtsp stream, in my case an axis cam. Then I use the public IP of my router to access the stream from anywhere else.

Richard

Take a look at the Troubleshooting Live Streaming Issues post:

http://www.wowza.com/community/t/-/57

Richard

I don’t. VLC has a reputation for being difficult. I don’t think it is a Wowza issue.

Richard

Probably Wirecast is the best option, with mac and pc versions and many nice tv station features.

Quicktime Broadcaster is free, but mac only, good quality but basic, no tv station features.

fastvdo smartcapture pro is interesting, a hardware solution, plugs into usb with the form factor of a thumb drive, connects to analog devices.

Richard

Can you explain in more detail what you are doing now?

Richard

You have already followed the Live Stream Troubleshooting guide, and considered other encoders. I’m not sure what we can do. VLC is difficult. They also have a forum that might be able to help:

http://forum.videolan.org/

Richard

Could be a permissions problem, trying to write to that location.

Richard

The dst argument is the remote IP. The sdp argument can be the same, or whatever is appropriate on that server.

It is also possible to output the sdp locally, then copy it to the remote server, in case there is some problem making it work, possibly a write permission problem.

Richard

Pablo,

Sorry, I don’t understand. What are you doing?

Richard

Pablo,

If you are having trouble writing the sdp file to the Wowza content folder, try writing somewhere else, then copy the file to the content folder. For example:


vlc -vvv dshow:// :dshow-vdev="Integrated Webcam" :dshow-adev="Microphone Array (IDT High Defi" :dshow-size="320x240" --sout "#transcode{venc=x264{keyint=60},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,port-video=10000,port-audio=10002,sdp=file://c:/Temp//vlc.sdp}"

Note this part:

sdp=file://c:/Temp//vlc.sdp

Richard

Everything is in this guide:

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

So, just go through it again carefully. Be sure to use VLC 1.05 or 1.06, as noted. Keep playing with it. It definitely works.

Richard

Well, does that file exist?:

C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2/content/vlc.sdp

Again, if you are having a problem with VLC writing the SDP file to the Wowza content folder, try another location. It can be any other place, it doesn’t matter where. I suggested c:\temp, as an example. Then copy that file to the Wowza content folder. See the example I showed above.

Richard

Pablo,

You have to change the dst value to the Wowza IP address.

dst=[wowza-address]

Then generate the sdp file locally, then move it to the Wowza machine in the content folder. Then start it in StreamManager.

Richard

You can if it works. That’s a question for your network admin really. I don’t know if it will work for you.

Richard

Make sure the .sdp file that VLC generates is actually in the Wowza content folder. You can write it to any location and copy it to the Wowza content folder if necessary. Then start a stream in Stream Manager with the name of that file, “test.sdp”

Or follow this guide to using mpeg-ts with VLC instead of the .sdp method

Running Wowza in stand-alone mode (/bin/startup.bat) and looking at access and error logs is helpful.

Richard

Looks like a problem with UDP ports. Try getting all UDP ports open ( 0-65535 )

Or add forceInterleaved Property set to true in the /conf/[app-name]/Application.xml /MediaCaster Properties container:

<Property>
	<Name>forceInterleaved</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

Richard