No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

RTSP stream via VLC Player from IPC 6284-VRZ

Publication Date:  2018-03-27 Views:  101 Downloads:  0
Issue Description

This article explains how to configure the VideoLAN VLC media player to stream live or on demand streams through RTSP/RTP over TCP (RTSP/RTP interleaved) from the IPC Huawei cameras.


Solution

I have tested the scenario in our lab environment and you can change the parameter in the RTSP stream to reflect the stream type configured in the web interface of the IPC camera.

You can see the Media Stream Information as per the below:



Based on the stream used and configured: Primary stream, Secondary stream 1 and Secondary stream 2 you can choose any of the below RTSP stream URLs to view the stream in VLC media player:


rtsp://username:password@IPaddress/LiveMedia/ch1/Media1/

 

rtsp://username:password@IPaddress/LiveMedia/ch1/Media2/

 

rtsp://username:password@IPaddress/LiveMedia/ch1/Media3/







Changing the stream transport protocol


To switch VLC from HTTP streaming to RTP/RTSP streaming:
 

  1. On the VLC media player Tools menu, click Preferences.  
  2. In the Simple Preferences dialog box, click Input / Codecs in the contents panel.  
  3. In Input & Codecs Settings, in the Network area, change the Live555 stream transport option from HTTP (default) to RTP over RTSP (TCP).  
  4. Click Save.

Starting stream playback


By default, VLC media player is configured with a very small caching buffer. This can lead to choppy playback initially but it will eventually smooth out over time as VLC automatically increases the size of this buffer. The steps below explain how to change the default cache size before connecting to the stream.

To set the default cache size and play a live or on demand stream:
 

  1. On the VLC media player Media menu, click Open Network Stream.  
  2. At the bottom of the Open Media dialog box, select the Show more options check box.  
  3. Set the Caching value to a higher value such as 1200 ms. This value is retained between VLC media player playback sessions and restarts.  
  4. Enter the URL of the stream that you want to play in the Please enter a network URL field and then click Play.

END