Wowza Community

Re-streaming an RTSP stream through Wowza Pro (RTSP/RTP)

Thanks. I am not seeing any packets over the RTCP channel. I will debug through my RTP library. More then likely an issue there.

Are there any plans to add statistical information in the RR packets? The current packets do not appear to be RTCP compound packets.

Some warning is coming and it is trying to connent to encoder again and again.

I can see on encoder new request coming again and again

I am running my server on 1936 instead of 1935

Server:rtmp://localhost:1936/rtplive

Stream:rtsp://152.1.171.67:554/test

Trace:

INFO stream destroy rtsp://152.1.171.67:554/test -

INFO server comment - RTPMediaCaster.Reconnector[995824187:rtplive/definst:rts

p://152.1.171.67:554/test]: start: 38

INFO server comment - RTPSessionTracker.add[rtsp://152.1.171.67:554/test]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:412360145 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtpli

ve/definst]: RTSP/RTP re-streaming. Success, received SDP data.

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

INFO stream create - -

INFO stream publish rtsp://152.1.171.67:554/test -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://152.1.171.67:554/test

INFO server comment - RTPMediaCaster.Reconnector[995824187:rtplive/definst:rts

p://152.1.171.67:554/test]: done: 38

INFO server comment - firstPacket: TCP:$0

INFO server comment - firstPacket: TCP:$2

WARN server comment - Waiting for RTCP packet. See docs for (Application.xml: RT

P/AVSyncMethod and RTP/MaxRTCPWaitTime).

WARN server comment - Waiting for RTCP packet. See docs for (Application.xml: RT

P/AVSyncMethod and RTP/MaxRTCPWaitTime).

INFO server comment - RTPMediaCaster.resetConnection[995824187:rtplive/definst

:rtsp://152.1.171.67:554/test]:

INFO server comment - RTPMediaCaster.closeRTPSession[995824187:rtplive/definst

:rtsp://152.1.171.67:554/test]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close clo

seSession

INFO stream unpublish rtsp://152.1.171.67:554/test -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream destroy rtsp://152.1.171.67:554/test -

INFO server comment - RTPSessionTracker.remove[rtsp://152.1.171.67:554/test]: 0:

true

INFO server comment - RTPMediaCaster.Reconnector[995824187:rtplive/definst:rts

p://152.1.171.67:554/test]: start: 39

INFO server comment - RTPSessionTracker.add[rtsp://152.1.171.67:554/test]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:412360145 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtpli

ve/definst]: RTSP/RTP re-streaming. Success, received SDP data.

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

INFO stream create - -

INFO stream publish rtsp://152.1.171.67:554/test -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://152.1.171.67:554/test

INFO server comment - RTPMediaCaster.Reconnector[995824187:rtplive/definst:rts

p://152.1.171.67:554/test]: done: 39

INFO server comment - firstPacket: TCP:$0

INFO server comment - firstPacket: TCP:$2

WARN server comment - Waiting for RTCP packet. See docs for (Application.xml: RT

P/AVSyncMethod and RTP/MaxRTCPWaitTime).

WARN server comment - Waiting for RTCP packet. See docs for (Application.xml: RT

P/AVSyncMethod and RTP/MaxRTCPWaitTime).

INFO server comment - RTPMediaCaster.resetConnection[995824187:rtplive/definst

:rtsp://152.1.171.67:554/test]:

INFO server comment - RTPMediaCaster.closeRTPSession[995824187:rtplive/definst

:rtsp://152.1.171.67:554/test]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close clo

seSession

sorry guys for that probably dump question, but how do i

“double click [install-dir]/examples/LiveVideoStreaming/client/live.html enter the following information and click the Play button” on a remote linux server withour any graphical interface…

thaaanks!

thx rrlanham! that worked…

No I’m facing two different problems. I’m using two cameras which are connected to the internet through a Geovision video server. Unfortunately the video server provides only a rtsp signal for direct streaming. I didn’t find another way to get the video stream without using any Active X elements. My goal is to embed both streams into a website via flash, e.g. JW Player or Flow Player.

I found this solution (RTSP -> RTMP restreaming) reasonable so I’ve set up Wowza and a rtmp stream like it’s described in the first post of this thread.

The Wowza starts up fine… I used in combination with the “client/live.html” the following values:

Server: rtmp://209.236.XX.XXX/rtplive [WOWZA SERVER]
Stream: rtsp://admin:password@XXXXXXXX.dyndns.org:8554/CH001.sdp [WEBCAM VIDEO SERVER]

After that, I’m getting the following response:

INFO server comment - RTPMediaCaster.Reconnector[964862003:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: start: 7
INFO server comment - RTPSessionTracker.add[rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.0.0.50:8554/CH001.sdp/track1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.0.0.50:8554/CH001.sdp/track2
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:1BF2A6B4 sessionTimeout:0
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
INFO server comment - sortPackets[7]: sortBufferSize:500
INFO stream create - -
INFO stream stop rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp -
INFO stream publish rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp -
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.0.0.50:8554/CH001.sdp/
INFO server comment - RTPMediaCaster.Reconnector[964862003:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: done: 7
INFO server comment - LivePlayer.play[rtplive/_definst_/rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: Dynamic Stream Markers are on.
INFO server comment - senderReport[RTP-Info]: track1
INFO server comment - senderReport[RTP-Info]: track2
INFO server comment - firstPacket: TCP:$2
INFO server comment - firstPacket: TCP:$0
INFO server comment - firstPacket: TCP:$3
INFO server comment - firstPacket: TCP:$1
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
INFO stream play rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp -
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: FU-B
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: STAP-B
WARN server comment - RTPPacketFragmentListReader.skip: Bad skip count: -440653716
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-16
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
INFO server comment - RTPSessionTracker.remove[rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: 0:true
INFO server comment - RTPMediaCaster.streamTimeout[964862003:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: timeout:12000 diff:12096 reason:101
INFO server comment - RTPMediaCaster.resetConnection[964862003:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]: 
INFO server comment - TPMediaCaster.closeRTPSession 964862003:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp]
INFO stream unpublish rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp -
INFO stream destroy rtsp://admin:password@XXXXXX.dyndns.org:8554/CH001.sdp -

After reading some other threads I guess Wowza has a problem with the codec of this camera. My second camera (CH002.sdp) is configured with different settings and anyhow I don’t get these errors:

INFO server comment - Wowza Media Server is started!
INFO application app-start _definst_ rtplive/_definst_
INFO session connect-pending 77.188.XX.XX -
INFO session connect 77.188.XX.XX -
INFO server comment - sortPackets[1]: sortBufferSize:500
INFO stream create - -
INFO server comment - MediaStreamMediaCasterPlay: startPlay
INFO server comment - RTPMediaCaster.create[278604369]
INFO server comment - RTPMediaCaster.init[278604369]
INFO server comment - RTPMediaCaster.Reconnector[278604369:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp]: start: 1
INFO server comment - RTPSessionTracker.add[rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.0.0.50:8554/CH002.sdp/track1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.0.0.50:8554/CH002.sdp/track2
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:30147849 sessionTimeout:0
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
INFO server comment - sortPackets[1]: sortBufferSize:500
INFO stream create - -
INFO stream publish rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp -
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.0.0.50:8554/CH002.sdp/
INFO server comment - RTPMediaCaster.Reconnector[278604369:rtplive/_definst_:rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp]: done: 1
INFO server comment - LivePlayer.play[rtplive/_definst_/rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp]: Dynamic Stream Markers are on.
INFO server comment - senderReport[RTP-Info]: track1
INFO server comment - senderReport[RTP-Info]: track2
INFO server comment - firstPacket: TCP:$2
INFO server comment - firstPacket: TCP:$0
INFO server comment - firstPacket: TCP:$1
INFO server comment - firstPacket: TCP:$3
INFO stream play rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp -

To me everything looks fine, BUT I have no video in “client/live.html” and after trying to connect with JW Player, I get the following:

INFO application app-start _definst_ rtplive/_definst_
INFO session connect-pending 77.188.XX.XX -
INFO session connect 77.188.XX.XX -
INFO server comment - sortPackets[1]: sortBufferSize:500
INFO stream create - -
INFO server comment - MediaStreamMediaCasterPlay: startPlay
INFO server comment - RTPMediaCaster.create[658314242]
INFO server comment - RTPMediaCaster.init[658314242]
INFO server comment - RTPMediaCaster.Reconnector[658314242:rtplive/_definst_:rtplive]: start: 1
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: /usr/local/WowzaMediaServer/content/rtplive
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: /usr/local/WowzaMediaServer/content/rtplive

My JW Player is embeded like this:

<div id='container'>The player will be placed here</div>
<script type="text/javascript">
  var flashvars = {
    file:'rtplive',
    streamer:'rtmp://209.236.XX.XXX/rtplive'
  };
  swfobject.embedSWF('/jwplayer/player.swf','container','480','270','9.0.115','false', flashvars,
   {allowfullscreen:'true',allowscriptaccess:'always'},
   {id:'jwplayer',name:'jwplayer'}
  );
</script>

No my question. What am I doing wrong? Where is my mistake? I think I can reconfigure the first webcam (CH001.sdp) to get rid of the errors in the first place, but I don’t know how to get a video signal. Not on “client/live.html” and not with JW Player.

Is there another possibility to restream the RTSP stream and maybe convert it into something useful, like flv or swf, which is handable with something like JW Player?

Thanks for your help!

Best,

dotacy

You can use VLC to play the RTSP stream direct, then look at Tools > Codec Info to see what the video format is. It might not be h.264.

Richard

Thanks again! The Alias worked. I don’t get any errors anymore, but I still don’t get a video signal.

VLC says MPEG-4 (mp4v)… Is that a problem?

Hey it’s me again. I’ve got now a video server which supports h264, but I still have no success…

I’m using the “client/live.html” file and JW Player for testing. I used “rtmp://209.236../rtplive" as Server and "rtsp://*****.dyndns.org:554/” as Stream. I get this messages again and again:

INFO session connect 92.229.**.*** -
INFO server comment - sortPackets[1]: sortBufferSize:500
INFO stream create - -
INFO server comment - MediaStreamMediaCasterPlay: startPlay
INFO server comment - RTPMediaCaster.create[1440018046]
INFO server comment - RTPMediaCaster.init[1440018046]
INFO server comment - RTPMediaCaster.Reconnector[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]: start: 1
INFO server comment - RTPSessionTracker.add[rtsp://*******.dyndns.org:554/]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:2047359602 sessionTimeout:0
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
INFO server comment - sortPackets[1]: sortBufferSize:500
INFO stream create - -
INFO stream publish rtsp://*******.dyndns.org:554/ -
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://*******.dyndns.org:554/
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://*******.dyndns.org:554/
INFO server comment - RTPMediaCaster.Reconnector[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]: done: 1
INFO server comment - LivePlayer.play[rtplive/_definst_/rtsp://*******.dyndns.org:554/]: Dynamic Stream Markers are on.
INFO server comment - firstPacket: TCP:$0
INFO server comment - RTPMediaCaster.streamTimeout[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]: timeout:12000 diff:12092 reason:101
INFO server comment - RTPMediaCaster.resetConnection[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]:
INFO server comment - RTPMediaCaster.closeRTPSession[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
INFO stream unpublish rtsp://*******.dyndns.org:554/ -
INFO stream destroy rtsp://*******.dyndns.org:554/ -
INFO server comment - RTPMediaCaster.Reconnector[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]: start: 2
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
INFO server comment - RTPSessionTracker.remove[rtsp://*******.dyndns.org:554/]: 0:true
INFO server comment - RTPSessionTracker.add[rtsp://*******.dyndns.org:554/]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:2139388617 sessionTimeout:0
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
INFO server comment - sortPackets[2]: sortBufferSize:500
INFO stream create - -
INFO stream publish rtsp://*******.dyndns.org:554/ -
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://*******.dyndns.org:554/
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://*******.dyndns.org:554/
INFO server comment - RTPMediaCaster.Reconnector[1440018046:rtplive/_definst_:rtsp://*******.dyndns.org:554/]: done: 2
INFO server comment - LivePlayer.play[rtplive/_definst_/rtsp://*******.dyndns.org:554/]: Dynamic Stream Markers are on.
INFO server comment - firstPacket: TCP:$0
[...]

This is the content of the sdp (when I open it with openRTSP):

s1:~# openRTSP rtsp://*******.dyndns.org:554
Opened URL "rtsp://*******.dyndns.org:554", returning a SDP description:
v=0
o=- 125830221 344568298 IN IP4 10.0.0.50
s=XNET Live Stream
t=0 0
a=control:rtsp://10.0.0.50/live
a=tool:Ingenient Technologies Media Server
m=video 0 RTP/AVP 99
c=IN IP4 0.0.0.0
a=control:rtsp://10.0.0.50/live:video:2
a=rtpmap:99 H264/90000
a=framesize:99 352-288

hey, are there any updates according my problem? thanks!

@rrlanham: vlc plays the stream directly… seems to be no problem.

@charlie: okay. so what can I do. the sdp is provided by a hardware video server called CNB INS2000…

Hi Followed the same above steps and getting some error " RTCPHandler.convertTimeSyncTimecode: Invalid timescale value: 0" and there is no video, could you please guide me to resolve the same.

2011-02-10 21:02:18 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/definst]: RTSP/RTP re-streaming. Success, received SDP data. - - - 202.249 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST create stream INFO 200 - - defaultVHost rtplive definst 0.0010 - 80 null 127.0.0.1 rtsp - known 316611918 0 0 1 0 0 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:18 EST publish stream INFO 200 choo1.stream - defaultVHost rtplive definst 0.023 - 80 null 127.0.0.1 rtsp - known 316611918 0 0 1 0 0 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:18 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://XXXX:XXXXn@1XX.1XX.0.3:8554/CH001.sdp - - - 202.293 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://1XX.1XX.0.3:8554/CH001.sdp/ - - - 202.294 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST comment server INFO 200 - RTPMediaCaster.Reconnector[8358178:rtplive/definst:choo1.stream]: done: 1 - - - 202.296 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST comment server INFO 200 - senderReport[RTP-Info]: track1 - - - 202.319 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST comment server INFO 200 - senderReport[RTP-Info]: track2 - - - 202.319 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:18 EST comment server INFO 200 - LivePlayer.play[rtplive/definst/choo1.stream]: Dynamic Stream Markers are on. - - - 202.362 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:19 EST comment server INFO 200 - firstPacket: TCP:$2 - - - 202.785 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - firstPacket: TCP:$0 - - - 204.055 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: chunkDurationTarget: 10000 - - - 204.176 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: chunkDurationTolerance: 500 - - - 204.177 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: playlistChunkCount:4 - - - 204.178 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:choo1.stream - - - 204.179 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - SanJosePacketHandler.startStream[rtplive/definst/choo1.stream] - - - 204.184 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Video codec: H264 - - - 204.184 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC - - - 204.19 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: chunkDurationTarget: 10000 - - - 204.197 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: chunkDurationTolerance: 500 - - - 204.197 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: audioGroupCount: 3 - - - 204.198 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: playlistChunkCount:3 - - - 204.199 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:choo1.stream - - - 204.2 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - CupertinoPacketHandler.startStream[rtplive/definst/choo1.stream] - - - 204.201 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream]: Video codec:H264 isCompatible:true - - - 204.207 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream]: Audio codec:AAC isCompatible:true - - - 204.208 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: profile: “Baseline”, level: 3.0, frameSize: 1280x1024, displaySize: 1280x1024} - - - 204.209 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:choo1.stream - - - 204.214 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:20 EST comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.startStream[rtplive/definst/choo1.stream] - - - 204.219 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:24 EST play stream INFO 200 choo1.stream - defaultVHost rtplive definst 7.607 [any] 1935 rtmp://localhost/rtplive 127.0.0.1 rtmp unknown WIN 10,1,102,64 829352958 3457 3608 1 0 0 0 choo1.stream - - - - - rtmp://localhost/rtplive/choo1.stream rtmp://localhost/rtplive/choo1.stream - rtmp://localhost/rtplive -

2011-02-10 21:02:33 EST comment server INFO 200 - MediaStreamMap.removeLiveStreamPacketizer[rtplive/definst/choo1.stream]: Destroy live stream packetizer: smoothstreamingpacketizer - - - 217.052 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:33 EST comment server INFO 200 - MediaStreamMap.removeLiveStreamPacketizer[rtplive/definst/choo1.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer - - - 217.052 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:33 EST comment server INFO 200 - MediaStreamMap.removeLiveStreamPacketizer[rtplive/definst/choo1.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer - - - 217.052 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPMediaCaster.streamTimeout[8358178:rtplive/definst:choo1.stream]: timeout:12000 diff:12465 reason:101 - - - 218.294 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPMediaCaster.resetConnection[8358178:rtplive/definst:choo1.stream]: - - - 218.294 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPMediaCaster.closeRTPSession[8358178:rtplive/definst:choo1.stream] - - - 218.295 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession - - - 218.305 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST unpublish stream INFO 200 choo1.stream - defaultVHost rtplive definst 16.043 - 80 null 127.0.0.1 rtsp - known 316611918 781533 0 1 1685225784 781533 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:34 EST destroy stream INFO 200 choo1.stream - defaultVHost rtplive definst 16.044 - 80 null 127.0.0.1 rtsp - known 316611918 781533 0 1 0 781533 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPMediaCaster.Reconnector[8358178:rtplive/definst:choo1.stream]: start: 2 - - - 218.309 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPSessionTracker.add[rtsp://XXXX:XXXX@1XX.1XX.0.3:8554/CH001.sdp]: 2 - - - 218.416 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://1XX.1XX.0.3:8554/CH001.sdp/track1 - - - 218.492 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:34 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://1XX.1XX.0.3:8554/CH001.sdp/track2 - - - 218.525 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:4CBC557C sessionTimeout:0 - - - 218.551 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/definst]: RTSP/RTP re-streaming. Success, received SDP data. - - - 218.664 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST create stream INFO 200 - - defaultVHost rtplive definst 0.0 - 80 null 127.0.0.1 rtsp - known 1809958618 0 0 2 0 0 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:35 EST stop stream INFO 200 choo1.stream - defaultVHost rtplive definst 18.652 - 80 null 127.0.0.1 rtsp - known 1809958618 0 0 1 509 0 746432 choo1.stream - - - - - rtmp://localhost/rtplive/choo1.stream rtmp://localhost/rtplive/choo1.stream - null -

2011-02-10 21:02:35 EST publish stream INFO 200 choo1.stream - defaultVHost rtplive definst 0.012 - 80 null 127.0.0.1 rtsp - known 1809958618 0 0 2 0 0 0 choo1.stream - - - - - null null - null -

2011-02-10 21:02:35 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://XXXX:XXXX@1XX.1XX.0.3:8554/CH001.sdp - - - 218.68 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://1XX.1XX.0.3:8554/CH001.sdp/ - - - 218.681 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - RTPMediaCaster.Reconnector[8358178:rtplive/definst:choo1.stream]: done: 2 - - - 218.684 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - senderReport[RTP-Info]: track1 - - - 218.749 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - senderReport[RTP-Info]: track2 - - - 218.75 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - LivePlayer.play[rtplive/definst/choo1.stream]: Dynamic Stream Markers are on. - - - 218.853 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:35 EST comment server INFO 200 - firstPacket: TCP:$2 - - - 219.274 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:36 EST comment server INFO 200 - firstPacket: TCP:$0 - - - 220.24 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - firstPacket: TCP:$1 - - - 221.064 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: chunkDurationTarget: 10000 - - - 221.068 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: chunkDurationTolerance: 500 - - - 221.068 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSanJose.init[rtplive/definst/choo1.stream]: playlistChunkCount:4 - - - 221.069 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:choo1.stream - - - 221.074 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - SanJosePacketHandler.startStream[rtplive/definst/choo1.stream] - - - 221.079 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: chunkDurationTarget: 10000 - - - 221.079 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Video codec: H264 - - - 221.083 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: chunkDurationTolerance: 500 - - - 221.091 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC - - - 221.096 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: audioGroupCount: 3 - - - 221.1 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.init[rtplive/definst/choo1.stream]: playlistChunkCount:3 - - - 221.113 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:choo1.stream - - - 221.118 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - CupertinoPacketHandler.startStream[rtplive/definst/choo1.stream] - - - 221.128 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream]: Video codec:H264 isCompatible:true - - - 221.13 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:choo1.stream - - - 221.129 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream]: Audio codec:AAC isCompatible:true - - - 221.135 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.startStream[rtplive/definst/choo1.stream] - - - 221.143 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/choo1.stream][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: profile: “Baseline”, level: 3.0, frameSize: 1280x1024, displaySize: 1280x1024} - - - 221.147 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server INFO 200 - firstPacket: TCP:$3 - - - 221.213 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:37 EST comment server WARN 200 - RTCPHandler.convertTimeSyncTimecode: Invalid timescale value: 0 - - - 221.217 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:40 EST play stream INFO 200 choo1.stream - defaultVHost rtplive definst 24.19 [any] 1935 rtmp://localhost/rtplive 127.0.0.1 rtmp unknown WIN 10,1,102,64 829352958 3471 752052 1 0 0 746432 choo1.stream - - - - - rtmp://localhost/rtplive/choo1.stream rtmp://localhost/rtplive/choo1.stream - rtmp://localhost/rtplive -

2011-02-10 21:02:42 EST comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/definst/choo1.stream]: Fragment durations: [0.0,0.0,0.0] - - - 226.051 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:42 EST comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[rtplive/definst/choo1.stream]: 1872125 - - - 226.052 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-02-10 21:02:42 EST comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[rtplive/definst/choo1.stream]: Add chunk: type:video id:0 count:1 duration:25 - - - 226.062 - - - - - - - - - - - - - - - - - - - - - - - - -

I am using a GeoVision , GV-BL110D 1.3M H.264 IR Bullet IP Camera

Wowza server 2.2.3.

Below are the steps I performed

  1. created a file ch001.stream in the content folder

  2. included the IP Cam RTSP url(rtsp://XXXX:XXXX@1XX.1XX.0.3:8554/CH001.sdp) in ch001.stream file and save it.

  3. Started the Wowza media server

  4. Open the “Wowza Media Systems\Wowza Media Server 2.2.3\examples\LiveVideoStreaming\client\live.html” file

  5. Updated the server name to "rtmp://localhost/rtplive

  6. Updated the stream name to ch001.stream

  7. Click play button

After this I don’t get any image and the log shows these messages

I check the video codes of this and it is showing as "H26- MPEG -4 AVC(Part10)(h26).

Let me know if you need additional details.

Thanks

Hi Charlie,

I am able to stream the video fine using the VLC,

I tired all the combination for the AVSync values and for all of them I am geting the same error.

Could you please advise how we can set the time base.

Hi Charlie,

I have enabled the cam, please access it via below URL.

Link

Let me know if you need additional info.

Thanks

Thanks Charlie,

I read in one of your response that MPEG-4(part10) is supported. Not sure if I have miss read it.

Also could you guide me on how I can get this camera streamed, do you suggest any transcoders. I tried VLC but the quality of the video is not good.

Below is the command I was using for VLC to stream it.

vlc -vvv rtsp://XXXX:XXXX@1XX.1XX.0.3:8554/CH001.sdp --sout “#transcode{venc=x264,vcodec=H264,vb=1024,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100,mux=ts}:duplicate{dst=rtp{dst=127.0.0.1,port=1935,mux=ts}}”

Thanks

Just an information :

I had some problems with an axis q1755 and restream over Wowza. Sometimes was the video signal unavailable. I spend a lot of time to try to find the problem. I solved it by enter a buffertime smaller than 1 (0.1 in my case). Now it works perfectly. Perhaps it could help you

David

Hi

I have strange issue. I have two IP cameras. One camera works perfectly - I can re-stream an RTSP stream, but I have troubles with the second one. Here what I see in wowza console:

....
INFO server comment - RTPSessionTracker.add[rtsp://72.10.XXX.XXX:9523/4]: 1
ERROR server comment - RTPSessionDescriptionDataProviderBasicRTSPResponse.getCSeq[unknown]: java.lang.NumberFormatException: For input string: "1 "
ERROR server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: CSeq less than zero
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.
....

As you can see, there some Java error.

Please, help me.

Note: Both cameras I can view using VLC. And both cameras are streaming video in h264.

Cameras are Grandstream. Model of working camera: GXV3611HD. Model of problem camera: GXV3651FHD.

Forgot to say. Working camera is streaming to 554 port. And problem camera is streaming to 9523 port.

I sent RTSP URL to support@wowza.com.

Encoding options for both cameras: h264 (512kbps) + PCMU. I know that wowza isn’t supporting PCMU, so there no audio, just video stream.

Yes, there some problems with streaming to 554 port on the second IP address. Not sure why. I’m not camera’s technician.

Update: I have remember the reason. By default camera has 80 HTTP port, but if we change it to something else, for example 82, RTSP port becomes 2082. So, so it is always 2000 + HTTP port when changed.

Everything works right now! Thank you, Charlie!