RTMP to RTSP vod stream conversion

Can we convert rtmp vod stream to rtsp vod stream,

I have seen this link…

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming

and i created ravi.stream file in which i wrote rtmp://[wowza-address]/AddVideo/mp4:sample.mp4

and try to play on vlc player the following link rtsp://[wowza-address]/rtplive/ravi.stream

but it’s play when we wrote in ravi.stream file rtsp://[wowza-address]:1935/AddVideo/mp4:sample

so in case of rtmp it’s not play and the following error is occur

INFO server comment - onAppStop…

INFO server comment - onAppStop: AddVideo/definst

INFO application app-start definst rtplive/definst

INFO rtsp connect 5760827 -

INFO server comment - sortPackets[1]: sortBufferSize:500

INFO stream create - -

INFO server comment - RTPMediaCaster.create[735700397]

INFO server comment - RTPMediaCaster.init[735700397]

INFO server comment - RTPMediaCaster.Reconnector[735700397:rtplive/definst:rtmp.stream]: start: 1

INFO server comment - RTPStream.lockRepeaterStreams: repeaterLock: rtmp.stream

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/definst]: /usr/local/WowzaMediaServer/content/rtmp://localhost/AddVideo/mp4:sample.mp4

WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: /usr/local/WowzaMediaServer/content/rtmp://localhost/AddVideo/mp4:sample.mp4

INFO server comment - RTPStream.unlockRepeaterStreams: repeaterUnLock: rtmp.stream

INFO stream unpublish - -

INFO stream destroy - -

INFO rtsp disconnect 5760827 -

INFO server comment - RTSPTunnelingSession.newSessionGET[localhost|63db61bf682891c1ca3d2f2]

INFO server comment - RTSPTunnelingSession.newSessionPOST[localhost|63db61bf682891c1ca3d2f2]

INFO rtsp connect 358245146 -

INFO server comment - sortPackets[2]: sortBufferSize:500

INFO stream create - -

INFO server comment - RTPStream.lockRepeaterStreams: repeaterLock: rtmp.stream

INFO session disconnect 996191687 -

INFO server comment - RTPStream.unlockRepeaterStreams: repeaterUnLock: rtmp.stream

INFO stream unpublish - -

INFO stream destroy - -

INFO server comment - RTSPTunnelingSession.closeSessionGET[localhost|63db61bf682891c1ca3d2f2]: true

INFO server comment - RTSPTunnelingSession.closeSessionPOST[localhost|63db61bf682891c1ca3d2f2]: true

INFO server comment - RTPMediaCaster.shutdown[735700397:rtplive/definst:rtmp.stream]: rtmp.stream

INFO server comment - RTPMediaCaster.disconnect[735700397:rtplive/definst:rtmp.stream]

INFO server comment - RTPMediaCaster.closeRTPSession[735700397:rtplive/definst:rtmp.stream]

INFO server comment - RTSPTunnelingSession.shutdown[119.82.75.68|63db61bf682891c1ca3d2f2]

INFO server comment - RTPMediaCaster.Reconnector[735700397:rtplive/definst:rtmp.stream]: done: 1

INFO application app-stop definst rtplive/definst

INFO application app-start definst vod/definst

give me right direction???

can we convert, RTMP to RTSP vod stream conversion

You cannot re-stream video on demand over rtmp. This will not work the way you are trying to use it:

rtmp://[wowza-address]/AddVideo/mp4:sample.mp4

Use MediaCache instead for video on demand:

https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache

For live rtmp streaming, you can use an Application with StreamType “liverepeater-edge” to re-stream live rtmp stream.

https://www.wowza.com/docs/how-to-configure-a-live-stream-repeater

Use an Application with StreamType “rtp-live” to re-stream rtsp:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming)

Or, instead of liverepeater-edge or rtp-live, you can use StreamType “live” in both cases then start the stream with StreamManager with MediaCaster type “liverepeater” or “rtp”

https://www.wowza.com/docs/how-to-use-stream-manager-in-wowza-media-server-3

Richard

Restreaming vod from RTSP will not work either:

[COLOR="red"]rtsp://[wowza-address]/vod/mp4:sample.mp4[/COLOR]

Follow the guide included with the MediaCache package, which does not have anything like above.

Richard

Respected Sir ,

I have got MediaCache_2.0.zip file by mail link,

I have try rtsp to rtmp is not running , so

Hence , Further i try rtsp to rtsp:

means –

i created ravi.stream file in which i wrote rtsp://[wowza-address]/vod/mp4:sample.mp4

and try to play on vlc player the following link rtsp://[wowza-address]/rtplive/ravi.stream

then it’s play but when again i try this link on another or same system on another vlc…

then video is not start from starting rather it start from where , there first vlc video is currently running.

So how to solve out this problem , with using of MediaCache package .

Give me right way ???