# how to publish RTSP to rtmp using Wowza media server

**URL:** <https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597>\
**Category:** Wowza Streaming Engine\
**Created:** [April 14, 2009, 4:45pm UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597 "2009-04-14T16:45:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [April 14, 2009, 4:45pm UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597/1 "2009-04-14T16:45:20Z")

</div>

Hi,

I have both rtsp and rtmp urls like below format.

rtmp://serveraddress/liveApp

rtsp://serveraddress:554/mpeg4/2/stream.amp

I want to given encode rtsp stream to rtmp using wowza media server.

I have used native rtp example as per the given instruction in wowzamederserverpro\_userguide.pdf but its giving timeout during connecting to rtsp stream.

Can anybody help me.

Thanks

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 14, 2009, 3:58am UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597/2 "2009-04-14T03:58:38Z")

</div>

Try following these instructions:

[http://community.wowza.com/t/-/53](http://community.wowza.com/t/-/53)

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 14, 2009, 4:47am UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597/3 "2009-04-14T04:47:55Z")

</div>

Use the url format:

rtsp://username:password@domain:port/path

Charlie

---

<div class="post-metadata">

**Author:** ![mohd\_vaseem](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mohd\_vaseem](https://community.wowza.com/u/mohd_vaseem)\
**Post date:** [April 14, 2009, 6:10pm UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597/4 "2009-04-14T18:10:13Z")

</div>

Thanks for replying

I already followed these instructions. but its giving connection timeout.

should I require any authentication? if yes then how to do this.

---

<div class="post-metadata">

**Author:** ![mohd\_vaseem](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mohd\_vaseem](https://community.wowza.com/u/mohd_vaseem)\
**Post date:** [April 15, 2009, 2:29pm UTC](https://community.wowza.com/t/how-to-publish-rtsp-to-rtmp-using-wowza-media-server/597/5 "2009-04-15T14:29:43Z")

</div>

Hi,

RTSP Server was down so it was giving time out. Now its giving successfull connection. When I entered the rtmp and rtsp url in nativertplive example app and press the play button its giving following information in wowza server console but its not generating any stream in content folder. Which I think it should write.

this is the information which its giving when I pressed the play button.

* * *

INFO server comment - MediaStreamMediaCasterPlay: startPlay

INFO server comment - RTPMediaCaster.create

INFO server comment - RTPMediaCaster.init

INFO server comment - RTPMediaCaster.Reconnector: start

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:1512966599 sessionTimeout:60000

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP

/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO stream create - -

INFO stream publish rtsp://serveraddress:554/mpeg4/2/stream.amp -

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6972

INFO server comment - UDPTransport.bind: 0.0.0.0/0.0.0.0:6973

INFO server comment - RTPMediaCaster.Reconnector: stop

* * *

Its giving message received SDP data.

Please help
