Can't view live video in VLC

Hi,

I added a stream file “Camera1.stream” to view IP camera. When I click record button, Wowza records the stream in Content folder which I can play with VLC.

But when I give URL rtsp:///live/Camera1.stream" in VLC on the same server, it says can’t open the link. I have all settings as per “How to set up live streaming using an RTSP/RTP-based encoder” tutorial. I didn’t do any settings for Publisher. I tried “How to troubleshoot RTSP/RTP playback” but no luck. The firewall is off on the server.

Please help.

Thanks,

Shrini

Hello,

Are you using the good port? It’s 1935 by default.

rtsp://[wowza-ip-address]:1935/live/Camera1.stream

Hi,

That’s odd, it’s usually remote playback that has such issues, not local.

See if you are able to play back other content with VLC, such as the sample.mp4 vod file:

rtsp://[WowzaIPaddress]:1935/vod/sample.mp4

That may indicate a general RTSP playback and configuration problem.

Review this guide: How to set up an application for RTSP-RTP streaming

for additional configurations.

Daren

Also be sure you have RTSP/RTP output enabled in your Wowza application settings.

What are the video/audio codecs used in your encoder?

You can troubleshoot issues like this by starting Wowza in stand alone mode [install-dir]/bin/startup.bat|startup.sh and view the output in the console.

Do you see any errors or warning messages in the output when you connect to the stream?

Kind regards,

Salvadore

This sounds like there is more to this issue then would be easily addressed in the forum. Someone may need to look over your configuration setup.

Please open a ticket with the support team by zipping up your /conf and /logs folders and sending them to support@wowza.com

Please also include as much detail about your setup as possible, whether you are streaming directly from the IP camera, or if VLC is in the middle operating as a transcoder. And a link to this thread as a reference.

Kind regards,

Salvadore

RTSP is enabled. The codec is H264. I tried “rtsp://[wowza-ip-address]:1935/live/Camera1.stream” but can’t see video.

I stopped Wowza services and started the batch file. Below is from log file. Is a publisher must here?

Shrini

2015-01-20 09:45:59 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:8 a/v/k:0/151/2 duration:10010 - - - 85.326 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:45:59 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:8 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10010 - - - 85.326 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:00 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:8 type:m4s_mux a/v/k:0/150/2 duration:10010 - - - 85.995 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:00 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:8 type:m4s_video v/k:150/2 duration:10010 - - - 85.996 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:09 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:9 a/v/k:0/151/2 duration:10011 - - - 95.335 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:09 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:9 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10011 - - - 95.335 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:10 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:9 type:m4s_mux a/v/k:0/150/2 duration:10011 - - - 96.006 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:10 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:9 type:m4s_video v/k:150/2 duration:10011 - - - 96.013 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:19 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:10 a/v/k:0/151/2 duration:10009 - - - 105.345 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:19 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:10 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10009 - - - 105.345 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:20 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:10 type:m4s_mux a/v/k:0/150/2 duration:10009 - - - 105.947 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:20 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:10 type:m4s_video v/k:150/2 duration:10009 - - - 105.947 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:46:29 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:11 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10010 - - - 115.363 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:47:43 EST connect rtsp INFO 200 1933196065 - defaultVHost live definst 189.406 10.128.3.179 1935 rtsp://10.128.3.179:1935/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1933196065 0 0 - - - - - - - - - - rtsp://10.128.3.179:1935/live/camera1.stream rtsp://10.128.3.179:1935/live/camera1.stream - rtsp://10.128.3.179:1935/live/camera1.stream -

2015-01-20 09:47:43 EST create stream INFO 200 - - defaultVHost live definst 0.026 10.128.3.179 1935 rtsp://10.128.3.179:1935/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1933196065 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179:1935/live/camera1.stream rtsp://10.128.3.179:1935/live/camera1.stream - rtsp://10.128.3.179:1935/live/camera1.stream -

2015-01-20 09:47:43 EST unpublish stream INFO 200 - - defaultVHost live definst 0.028 10.128.3.179 1935 rtsp://10.128.3.179:1935/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1933196065 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179:1935/live/camera1.stream rtsp://10.128.3.179:1935/live/camera1.stream - rtsp://10.128.3.179:1935/live/camera1.stream -

2015-01-20 09:47:43 EST destroy stream INFO 200 - - defaultVHost live definst 0.03 10.128.3.179 1935 rtsp://10.128.3.179:1935/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1933196065 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179:1935/live/camera1.stream rtsp://10.128.3.179:1935/live/camera1.stream - rtsp://10.128.3.179:1935/live/camera1.stream -

2015-01-20 09:47:43 EST disconnect rtsp INFO 200 1933196065 - defaultVHost live definst 189.441 10.128.3.179 1935 rtsp://10.128.3.179:1935/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1933196065 0 0 - - - - - - - - - - rtsp://10.128.3.179:1935/live/camera1.stream rtsp://10.128.3.179:1935/live/camera1.stream - rtsp://10.128.3.179:1935/live/camera1.stream -

2015-01-20 09:52:08 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:OPTIONS - - - 454.832 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:52:08 EST comment server INFO 200 - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

cseq: 5

status: 200

public: DESCRIBE, GET_PARAMETER, OPTIONS, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN

date: Thu Jan 22 08:57:40 1970

uri: RTSP/1.0 200 OK

      • 454.839 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 09:52:08 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:OPTIONS response:RTSP/1.0 200 OK status:200 handled:false - - - 454.84 - - - - - - - - - - - - - - - - - - - - - - - - -

Where do you see this RTSP/RTP enabled other than Application->Live->Playback types? The encoder is H264. In stand alone mode I see text below in log file when VLC tries to connect.

Q: Is there any significance of block in Application.xml? The PlayMethod is Live.

Thanks,

Shrini

2015-01-20 11:06:16 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:9 type:m4s_mux a/v/k:0/150/2 duration:10010 - - - 443.02 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:16 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:9 type:m4s_video v/k:150/2 duration:10010 - - - 443.021 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:25 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:10 a/v/k:0/151/2 duration:10009 - - - 452.426 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:25 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:10 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10009 - - - 452.427 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:26 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:10 type:m4s_mux a/v/k:0/150/2 duration:10009 - - - 453.029 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:26 EST comment server INFO 200 - MPEGDashWriterHandler.createChunkM4S[live/definst/Camera1.stream]: Add chunk: id:10 type:m4s_video v/k:150/2 duration:10009 - - - 453.03 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:06:35 EST comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/definst/Camera1.stream]: Add chunk: id:11 mode:TS[H264,NOAUDIO] a/v/k:0/150/2 duration:10011 - - - 462.437 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-01-20 11:09:06 EST connect rtsp INFO 200 1727580016 - defaultVHost live definst 612.735 10.128.3.179 554 rtsp://10.128.3.179/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1727580016 0 0 - - - - - - - - - - rtsp://10.128.3.179/live/camera1.stream rtsp://10.128.3.179/live/camera1.stream - rtsp://10.128.3.179/live/camera1.stream -

2015-01-20 11:09:06 EST create stream INFO 200 - - defaultVHost live definst 0.025 10.128.3.179 554 rtsp://10.128.3.179/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1727580016 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179/live/camera1.stream rtsp://10.128.3.179/live/camera1.stream - rtsp://10.128.3.179/live/camera1.stream -

2015-01-20 11:09:06 EST unpublish stream INFO 200 - - defaultVHost live definst 0.028 10.128.3.179 554 rtsp://10.128.3.179/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1727580016 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179/live/camera1.stream rtsp://10.128.3.179/live/camera1.stream - rtsp://10.128.3.179/live/camera1.stream -

2015-01-20 11:09:06 EST destroy stream INFO 200 - - defaultVHost live definst 0.029 10.128.3.179 554 rtsp://10.128.3.179/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1727580016 0 0 2 0 0 0 camera1.stream - - - - - rtsp://10.128.3.179/live/camera1.stream rtsp://10.128.3.179/live/camera1.stream - rtsp://10.128.3.179/live/camera1.stream -

2015-01-20 11:09:06 EST disconnect rtsp INFO 200 1727580016 - defaultVHost live definst 612.769 10.128.3.179 554 rtsp://10.128.3.179/live/camera1.stream 10.128.3.179 rtsp - LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18) 1727580016 0 0 - - - - - - - - - - rtsp://10.128.3.179/live/camera1.stream rtsp://10.128.3.179/live/camera1.stream - rtsp://10.128.3.179/live/camera1.stream -

2015-01-20 11:12:19 EST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:OPTIONS - - - 806.616 - - - - - - - - - - - - - - - - - - - - - - - - -

Just now I tried viewing the stream using VLC from another computer and it works. Wondering why it is not working on the same Wowza server?

Shrini