Wowza Community

RTSP live streaming

Hi i am a newbie in WMS, i came to know that we can stream live video to the server as rtsp and stream back to the flash players as rtmp…

so basically what i am trying to do is similar to video chat example…

i am capturing a live video and encoding it with h.264(like say VLC) and this stream is then sent to the WMS…

wht i want to know is how do i stream this to the server as rtsp and how can i get it as rtmp from the server…

i did the same thing is rtmp…which was in FMS

thanks in advance,

deepak

Take a look at the Live Encoders section of the forums. It has a bunch of examples for the different encoder types:

http://www.wowza.com/forums/forumdisplay.php?f=24

Charlie

No, Wirecast is a standalone encoder that runs on both Windows and OSX.

Charlie

There seems to be additional latency introduced by the Flash player when streaming live H.264. On2 VP6 based encoders do not exhibit this problem. So I would take a look at On2 Flix Live and Digital Rapids encoders that use VP6.

If you are still interested in using H.264 based encoders then you can try setting the NetStream.bufferTime to zero. This usually removes this additional latency but can cause playback stuttering issues and/or lip sync issues.

Charlie

We support all sort of encoders. The list is very, very long. This is a short list of ones I can think of:

Wirecast

Quicktime Broadcaster

Haivision hardware encoders

Scopus

Optibase

Digital Rapids

Viewcast

Lanner

Dicas

Ateme

FastVDO

On2 Flix Live

Flash Media Encoder

VLC

GStreamer

If it supports RTMP it should work with Wowza Pro. We also work with most encoders that support RTSP/RTP or MPEG-TS (we only support H.264/AAC codecs).

Charlie

Please provide the exact, detailed instructions and command lines that you used and the exact and detailed results.

Charlie

VLC does do RTSP. If you want a push based RTSP encoder then take a look at Quicktime Broadcaster and Wirecast.

Charlie

VLC does not support RTSP. It only supports RTP. The instructions are here for RTP. Again, there is no RTSP support in VLC:

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

Also, VLC is not super stable. So it may not be a great choice.

Charlie

What you are asking doesn’t really make sense. The URL formats for the different players is discussed in the tutorials and User’s Guide.

Charlie

Wirecast

Richard

Check if this file exists after you started VLC: C:/Program Files/Wowza Media Systems/Wowza Media Server Pro 1.6.0/content/vlc.sdp

It seems that VLC doesn’t create it (is %WMSCONFIG_HOME% set?, try maybe with: sdp=file://C:/Program Files/Wowza Media Systems/Wowza Media Server Pro 1.6.0/

content/vlc.sdp )

thnk you for the reply charlie …i really appreciate you for your fast response…

but i am stuck with RTSP, what i want to know is how to give the rtsp stream to the WMS from my webcam, i am not planning to use any hardware… i just want to send an rtsp stream to server and recieve a rtmp stream…i tried rtplive example but it says NO H.264 found …i am using VLC to encode …i tried both the command line examples but no luck in either case…

i am following the read for vlc that u mentioned at

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

i am giving the commandline for vlc as

vlc -vvv dshow:// :dshow-vdev=“USB PC Camera-168” :dshow-adev=“SoundMAX HD Audio” :dshow-size="" --sout “#transcode{venc=x264,vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22100}:duplicate{dst=display}:rtp{dst=127.0.0.1,sdp=file://%WMSCONFIG_HOME%/content/vlc.sdp}”

i tried in both livestreaming and rtpnative clients with server ip as localhost and rtsp://localhost:554 and vlc.sdp…but culdnt get any success…but i fount this error on the server…and i dnt know wht to do about it

INFO session connect-pending 127.0.0.1 -

INFO session connect 127.0.0.1 -

INFO stream create - -

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: C:/P

rogram Files/Wowza Media Systems/Wowza Media Server Pro 1.6.0/content/vlc.sdp

WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP

file missing: C:/Program Files/Wowza Media Systems/Wowza Media Server Pro 1.6.0/

content/vlc.sdp

yes…thts the path i gave…its the installation directory…but today started working now for native RTP…but what i am intrested is in RTSP from vlc or any other h.264 encoders that can stream the live video…is it the rtsp://localhost:554 that i need to give in as the stream ?

but quicktime broadcster is only for mac i think… so what about pc’s?

hi all thnks for your replies and support… but if any one can explain to me on how to stream to wms using rtsp of vlc plz.?

thank you charlie for ur comments…i was able to stream live with some 3-4 seconds delay…can u help me with that…i also tried the live-lowlatency, this time there was delay too but it was to the lower side a bit (2-3 sec)

VLC does do RTSP. If you want a push based RTSP encoder then take a look at Quicktime Broadcaster and Wirecast.

Charlie

does anyother software support rtsp?

well i was able to recieve the video with a delay of 10-15 secnds but no audio…with this i cant develop any chat applications but i could stream or broadcst…but wht could be wrong with the audio???

thankyou charlie for your support…can u suggest any more live encoders supported by wowza…and also it will be nice if u could suggest me some methods by which i can decrease my delaytime in video

thanks in advance

Deepak