Wowza Community

RTSP ip cam won't stream

First of all hello there, …marry Xmas !! :slight_smile:

i run a wowza 2 server and now i got this new camera from a factory in China.

the rtsp link through VLC Player streams fine, but when i stream it through the Wowza server it connects but its not Adding Chunks at all.

it gives the following :

INFO server comment - LiveStreamPacketizerCupertino.handlPacket blah blah etc etc for ipod and old iphone baseline/level 3.0 or lower is required Video info H264codecconfiginfo: profile :baseline", level 3.1, framesize 1280x720, displaysize: 1280x720, framerate: 22.0

at this line it just stops doing anything, as my other cams (H264) but with 640x480 runs smooth and adding chunks .

so what could be the problem here ?

thnx for the help :)…Merry Xmass !!!

Maybe something in the livestreampacketsizer smoothstreamer ? as thats prolly the next line that needs to popup ?

What do you mean that chunks are not created. Please describe in detail. Also, please post more of the log file. The errors you have posted indicate the stream is being received properly. It should be playable on more recent iOS devices.

Charlie

Robbie, you have two different cameras as mentioned here, right? Try to play the stream in VLC. Then go Tools->Codec Information. Ensure that the audio/video codecs are supported by Wowza 2 for RTSP publishing. This means: H.264, AAC or MP3.

That is the video codec. What is the audio codec?

Can you provide a link to the camera stream?

Sorry, but this is incomprehensible to me: “everytime on login with jwplayer it sticks to the Dynamic stream markers are on line and just stops there, while jwplayer keeps on trying.”

I have asked you this: “What is the video/audio codec when you play it in vlc”? But a more general question is, “What is your audio/video codec?”

Ahh, sorry I was confused. You’re saying it’s a video-only stream. Send links to both cameras if you can.

Hi Robbie,

You can create another ticket with similar info as last time and we can look at the stream again.

Hello,

You can send a link to the stream and a zip of [install-dir]/conf and logs to support@wowza.com and we can investigate further. Please reference this post.

-Lisa

WARN server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

cam2.stream][avc1.66.31]: H.264 Video encoding settings are beyond iPhone/iPod t

ouch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “Baseline”,

level: 3.1, frameSize: 1280x720, displaySize: 1280x720}

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:cam2.stream

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/cam2.stream]

Thats what happens on the 720P cam… :(:confused::confused:

can someone please help me out here ?

wowza media server 2 vrsion

when your camera works the .stream file gives addchunk, on this camera it doesn’t. those lines are the last lines after adding the cam.stream in the manager.

This camera works perfectly !!:

INFO server comment - Wowza Media Server is started!

INFO application app-start definst live/definst

INFO server comment - RTPMediaCaster.create[841015235]

INFO server comment - RTPMediaCaster.init[841015235]

INFO server comment - RTPMediaCaster.Reconnector[841015235:live/definst:cam.st

ream]: start: 1

INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successful

ly started [live/definst]: flv:cam.stream

INFO server comment - RTPSessionTracker.add[rtsp://192.168.1.160]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: SETUP: rtsp://192.168.1.160/trackID=1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:4033172080410782464 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/

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

INFO stream create - -

INFO stream publish cam.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://192.168.1.160

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: PLAY: rtsp://192.168.1.160/

INFO server comment - RTPMediaCaster.Reconnector[841015235:live/definst:cam.st

ream]: done: 1

ERROR server comment - RTSPRequestMessage.parseHeader: missing parameters: Sessi

on: 4033172080410782464

ERROR server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processR

esponse: CSeq less than zero

INFO server comment - firstPacket: TCP:$0

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam.stream

]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam.stream

]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam.stream

]: playlistChunkCount:4

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: sanjosestreamingpacketizer:cam.stream

INFO server comment - SanJosePacketHandler.startStream[live/definst/cam.stream

]

INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H26

4

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam.stre

am]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam.stre

am]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam.stre

am]: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam.stre

am]: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: cupertinostreamingpacketizer:cam.stream

INFO server comment - CupertinoPacketHandler.startStream[live/definst/cam.stre

am]

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

cam.stream]: Video codec:H264 isCompatible:true

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

cam.stream][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: profile: "Basel

ine", level: 3.0, frameSize: 640x480, displaySize: 640x480}

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:cam.stream

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/cam.stream]

INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_def

inst_/cam.stream]: Fragment durations: [2.0,2.0,2.0]

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit

rate[live/definst/cam.stream]: 1830728

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cam.stream]: Add chunk: type:video id:0 count:50 duration:2000

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

m.stream]: Add chunk: id:1 a/v/k:0/200/4 duration:9961

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cam.stream]: Add chunk: type:video id:1 count:50 duration:2000

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/cam.

stream]: Add chunk: id:1 a/v/k:0/201/4 duration:9961

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cam.stream]: Add chunk: type:video id:2 count:50 duration:2000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cam.stream]: Add chunk: type:video id:3 count:50 duration:2000

INFO server comment - RTPMediaCaster.shutdown[841015235:live/definst:cam.strea

m]: cam.stream

INFO server comment - RTPMediaCaster.disconnect[841015235:live/definst:cam.str

eam]

INFO server comment - RTPMediaCaster.closeRTPSession[841015235:live/definst:ca

m.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close clo

seSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish cam.stream -

INFO server comment - RTPSessionTracker.remove[rtsp://192.168.1.160]: 0:true

INFO stream destroy cam.stream -

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

am.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

am.stream]: Destroy live stream packetizer: smoothstreamingpacketizer

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

am.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer

INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successful

ly stopped [live/definst]: cam.stream

------------------//--------------------

this camera don’t :

Configure logging: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Medi

a Server 2.2.3/conf/log4j.properties

INFO server comment - Wowza Media Server is started!

INFO application app-start definst live/definst

WARN server comment - HTTPStreamManager.onHTTPRequest: Publish stream not found[

live/definst]: cam2.stream

INFO server comment - RTPMediaCaster.create[1068218445]

INFO server comment - RTPMediaCaster.init[1068218445]

INFO server comment - RTPMediaCaster.Reconnector[1068218445:live/definst:cam2.

stream]: start: 1

INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successful

ly started [live/definst]: flv:cam2.stream

INFO server comment - RTPSessionTracker.add[rtsp://gast:gast@192.168.1.113:1554/

]: 1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:965101101 sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/

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

INFO stream create - -

INFO stream publish cam2.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://gast:gast@192.168.1.113:1554/

INFO server comment - RTPMediaCaster.Reconnector[1068218445:live/definst:cam2.

stream]: done: 1

INFO server comment - firstPacket: TCP:$0

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam2.strea

m]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam2.strea

m]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cam2.strea

m]: playlistChunkCount:4

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: sanjosestreamingpacketizer:cam2.stream

INFO server comment - SanJosePacketHandler.startStream[live/definst/cam2.strea

m]

INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H26

4

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam2.str

eam]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam2.str

eam]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam2.str

eam]: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cam2.str

eam]: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: cupertinostreamingpacketizer:cam2.stream

INFO server comment - CupertinoPacketHandler.startStream[live/definst/cam2.str

eam]

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

cam2.stream]: Video codec:H264 isCompatible:true

WARN server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

cam2.stream][avc1.66.31]: H.264 Video encoding settings are beyond iPhone/iPod t

ouch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “Baseline”,

level: 3.1, frameSize: 1280x720, displaySize: 1280x720}

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:cam2.stream

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/cam2.stream]

INFO session connect-pending xxx.xxx.xxx.xxx-

INFO session connect xxx.xxx.xxx.xxx-

INFO stream create - -

INFO server comment - LivePlayer.play[live/definst/cam2.stream]: Dynamic Strea

m Markers are on.

here it just stays at that last line :frowning:

…this is what i mean with the addchunks …they don’t show here…like the transcoding aint right or something ?

Hi Randall thnx for replying on this second xmas day :slight_smile:

they both have the same codecs : H264-mpeg4-avc (h264) …The reason why i picked that MegaPixel thought it would work fine on wowza.

the onlt thing thats different is the resolution

640x480

against:

1280x720 < this one runs on image speed 44.009779

so i have no clue what the problem could be here :(, never encountered this in wowza 2, so thats why im on the Forum for the 1st time :slight_smile:

the small resolution H.264 camera send no auto out through rtsp, so vlc player shows no audio codec.

neither does the big resolution camera, they don’t show any audio codecs in vlc player.

i can give you a external link but your private msg box is overfilled :slight_smile: . i guess you have alot of fans :slight_smile:

can we maybe msn or skype or whatever about this pls ? kinda importained for me and my customer…don’t want to invest in another 1600,= euro’s camera :frowning:

everytime on login with jwplayer it sticks to the Dynamic stream markers are on line and just stops there, while jwplayer keeps on trying .

i don’t understand whats wrong here, and dunno if an upgrade would do the trick here.

erm didn’t i reply with they don’t use audio and they don’t show any audio codecs at all in vlc player.

i guess yiu guys don’t have clue either then.

ill try Helix or Darwin then… see if they tackle it

cheers

Okay ill put them online as there not always online here.

i will port forward them with there rtsp port only then if thats okay.

i used the standart xml’s that comes with a new fresh install of the product ( Wowza v2.2.3 )

Andrew S. Kennedy, Dec-28 07:14 am (CST):

Hi,

I have looked through both outputs and also use a Wowza 3 instance this side and can see the camera which does not work is returning bad SDP data.

I can see

o=- 1109162014219182 1109162014219192 IN IP4 x.y.z.w

is being returned , where x.y.z.w is not an IP address and should be that of the internal device sending the stream. With the working camera it is

o=StreamingServer 3433055887 1321272193154871 IN IP4 192.168.1.160

You can also see the description coming through correctly.

I believe further configuration of the camera is required your side as the x.y.z.w seems to be a place holder address which needs to be changed.

Unfortunately this is a camera/port forwarding/firewall issue and there is nothing we can do within Wowza to solve it.

Andrew

thnx for the fast reply here !!

the only thing now is, how can i solve this problem. I binded the mac adress to the ip adress already and used static routing tried almost everything i know of concerning the ip routing Also did the DMZ but the actual ip adress of the camera is not comming trough the rtsp stream :frowning:

i am sad …Or is there perhaps another way to get this camera to stream on to a website ?

all sorted out Wowza 3 with the patch fixed the problem of the Hikvision 720p and prolly the other hikvision series to.

thnx for the big help Andrew and Chris !..

my 2011 year can end good now, !!! best wishes to all !! Wowza support is 100% good !!

again :frowning: placed the camera on a different host, and its not coming in …same problems again with old set up…wowza v3 with 10 patch

We Have it fixed again, this camera has an option for the I-Frame settings. as soon as i turn it above 1, the wowza is not streaming the source anymore.

So having it on 1 and it works…i guess I-Frameing is not yet implented in wowza’s encoder ?