Wowza Community

RTSP VLC Streaming

Hi,

I am unable to stream MP4 file to wowza using VLC player, anybody can help me to open RTSP stream to wowza server using VLC player. I have MP4( h.264 files ).

Also I want to know about any RTSP directshow streaming filters available?

Thanks.

Check this link

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

don’t forget to open the following ports in firewall and Wowza files as well

Port Used for Streaming

The following ports are used by default by Wowza Media Server 2 for streaming. You will need to open up these ports on your firewall to enable streaming.

TCP 1935: RTMP (all variants), RTSP, Smooth and Cupertino Streaming

UDP 6970-9999: RTP UDP Streaming

TCP 8084-8085: JMX/JConsole Monitoring and Administration

TCP 8086: HTTP Administration

Note: Wowza Server by default binds to TCP port 1935 for all forms of streaming. To configure other ports for streaming, see the next section.

How to open additional ports for streaming

To open additional ports for streaming, edit [install-dir]/conf/VHost.xml and add additional port numbers to the HostPortList/HostPort/Port comma separated list of ports. Be sure there are no applications or server software running on your server that also use the ports you wish to open. Below are the common ports used for the Wowza Server streaming protocols:

TCP 80: RTMPT, Smooth Streaming, Cupertino Streaming

TCP 443: RTMPS

TCP 554: RTSP

You can use VLC to stream a file as a live stream to Wowza. Take a look at this article:

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

Here I replaced live input from one of the examples with a file:

vlc -vvv sample.mp4 --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}"

This is a live stream, not video on demand.

You can achieve the same (live stream from file) in Wowza with the Stream Class:

https://www.wowza.com/docs/how-to-do-basic-server-side-publishing-with-stream-class-streams

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

Richard

That will work with this method for Flash clients. Create a .stream file in content folder like:

/content/mpegts.stream

Make the contents of that file the udp url VLC output, then play in Wowza example player:

Server: rtmp://[wowza-address]:1935/rtplive

Stream: mpegts.stream

The stream will start without having started in StreamManager. For other clients, you should still use StreamManager.

Richard

I guess stick with RTMP publishing. I showed you how to do it without StreamManager.

Richard

Thanks for your help. I want to send RTSP stream instead of MPEG-TS.

In MPEG-TS we need to start stream with StreamManager and we have to configure each stream on different port ( correct me if I am wrong ).

In RTSP with SAP announce method you dont need to use StreamManager and there is no extra steps involved, Just start the RTSP encoder and stream will be available to play just like RTMP ( correct me if I am wrong about rtsp). Is there any example just like MPEG-TS to start RTSP stream with VLC to wowza server.

Thanks in advance.

Thanks rrlanhm,

We want to send streams to wowza server without doing any mpegts.stream or any StreamManager use. We tried RTMP and there is no need to create any file neither start stream with StreamManager. My question is can we do RTSP just like RTMP. Also If you can provide any third party company who provides RTSP Direct Show filters which we can use to stream to wowza server with SAP announce ( Push Based RTSP encoders ).

Can you provide me companies offering RTMP Streaming through DirectShow Filter, we have already evaluated NanoCosmos.