# VIDEO starter kit for Ignition Vision and Perspective 8.1 / 8.3

**URL:** <https://forum.inductiveautomation.com/t/video-starter-kit-for-ignition-vision-and-perspective-8-1-8-3/66190>\
**Category:** Ignition\
**Tags:** perspective, vision, ignition81\
**Created:** [November 7, 2022, 4:43pm UTC](https://forum.inductiveautomation.com/t/video-starter-kit-for-ignition-vision-and-perspective-8-1-8-3/66190 "2022-11-07T16:43:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [November 7, 2022, 4:43pm UTC](https://forum.inductiveautomation.com/t/video-starter-kit-for-ignition-vision-and-perspective-8-1-8-3/66190/1 "2022-11-07T16:43:48Z")

</div>

## 🆕 VIDEO starter kit for Ignition Vision and Perspective 8.1 📹 !

## 3 use case:

1. A standalone video wall **Ignition Vision project**
2. A video wall **Ignition Vision Project** with the choices of the cameras **driven by an Ignition Perspective Project**
3. A video stream displayed in a standalone **Ignition Perspective Project**  
(3. is a tricky and complex solution. Don't use it in production without running test over time)

 ![demo_vision](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55c8a9de93f9cdd2b74ccb06674ccf703bf8927b.jpeg)

 ![demo_perspective](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/5/452d8da4cec73c85772777d4041ba100f9e29137.jpeg)

- Ignition Vision edition support :

- Ignition Perspective edition support :

![h264_petit](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/db18328914b908caa7db6c973381903dedca3dc7.png) ![onvif_petit](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/1/515807d1a51d28c60c482812b1875bf74b7808b9.png)

⚠ **Disclaimer** : this starter kit is mainly used with **OS windows** , and few tests have been done with **Linux ubuntu and macOS**.

**Feedbacks are welcome !**

## Installation:

- Install **Ignition 8.1.22+**

- import the project:  
[Dropbox](https://www.dropbox.com/s/bu9nugce9jkyr0g/STARTER_KIT_VIDEO_v1.0.zip?dl=0)

- import the images (for vision):  
[Dropbox](https://www.dropbox.com/s/g5br8vs6dxgy31d/images.zip?dl=0)

- load the modules according the use case:

- load the module BYES-JoystickDriver if you want use o joystick or gamepad with a PTZ camera:  
[Dropbox](https://www.dropbox.com/s/bzlj68d9ck3ovkn/BYES-JoystickDriver-signed-1.8.3.modl?dl=0)

- load the BYES-Utils modules. This module is only used in the vision project in order to manage some kind of "message" instead of binding.  
[Dropbox](https://www.dropbox.com/s/hlg6m9ep8ge9fid/BYES-Utils-signed-1.8.30.modl?dl=0)

It contains lots of script function not used for this project.  
The project can be modified to avoid its usage and use classic Ignition binding.

## Settings:

- Adjust settings in: **shared.commun.constantesCustom.PLATFORM**

- Adjust camera settings in: **shared.commun.constantesCustom.VIDEO\_SERVER**

**Launch Ignition Vision and/or Perspective Project**

For perspective : **start the video server** : with the button: **"Config & Start"**

## Important Notes:

- ⚠ some camera allow onvif command only if the times of the camera and the PC sending command are sync. For example, this is the case for Axis camera or IMOU camera.

- Check your **firewall** allow communication for ONVIF port (80) and RTSP port (554) and webrtc iframe port (9000) if perspective is used.

- **With Ignition Vision** , when testing on localhost, with Ignition Vision client and gateway launched on the same machine: use parameter : **shared.commun.constantesCustom.IP\_CLIENT\_FILTER\_VIDEO\_WALL = False** (IP address is used to detect that Ignition client vision and perspective session are on the same machine and "link" both client. This parameter bypass the test for test with client launched on localhost)

- ⚠ **With Ignition Perpective** , webrtc between Ignition gateway and browser client work only if the Perspective client session is launched with an **IP address** :  
[http://IP:8088/](http://IP:8088/)... instead of [http://localhost:8088/](http://localhost:8088/)... or [http://127.0.0.1:8088/](http://127.0.0.1:8088/)...\*\*

- **Perspective Chrome only support H264/VP8 video stream**.  
All H264 profile (low, medium, hight) are not always supported.  
In such case you will have to choice the **webM VP8** format well supported by the browser.

- For Perspective the RTSP stream is connected from the gateway.  
According the **source video format** (H264/H265) and the **destination video format** (H264/VP8/VP9)  
The module use gstreamer to **decode/encode** the video format and convert the transport protocol from **RTSP to WEBRTC**.  
Some quality settings for encoding (low latency) can be used.  
In theory, H264 source =\> H264 destination will make the lowest load for the gateway

## Gateway CPU/RAM Load:

- In case of **perspective** , each camera stream displayed in a perspective session give a CPU/memory  
load for the gateway and a load in the browser as well.  
We can put a maximum concurrent stream limit to avoid gateway overload.  
We advice to use a dedicated gateway for video stream decode/encode.

- In case of **vision** , the load for each stream is supported by the each vision client.

 ![camera_gamepad](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/0/60be195dce2439ab1b7025e948c84501f35f8a3c.jpeg)

## Hardware:

Use camera with RSTP stream (H264/H265) on ONVIF PTZ support

- **For Professional solution:**

- **For Personal or Proof of Concept solution, tested with:**

## Tools for camera stream debug:

> **[ODM](https://sourceforge.net/projects/onvifdm/)**
>
> Download ODM for free. Device Manager for ONVIF-based Network video devices. ODM is a ONVIF protocol implementation of Network Video Client (NVC) to manage Network Video Transmitters (NVT), Network Video Storage (NVS) and Network Video Analytics...

> **[Téléchargement officiel du lecteur multimédia VLC, le meilleur lecteur Open...](https://www.videolan.org/vlc/index.fr.html)**
>
> Téléchargement officiel du lecteur multimédia VLC, le meilleur lecteur Open Source

## Some video test files:

- h264
- h265

> **[Dropbox](https://www.dropbox.com/s/9zzjnd0pmhq9prz/video-h264.mkv?dl=0)**

> **[Dropbox](https://www.dropbox.com/s/rqed1k2dev27w6n/video-h265.mkv?dl=0)**

Hope this help !

---

_[View the full topic](https://forum.inductiveautomation.com/t/video-starter-kit-for-ignition-vision-and-perspective-8-1-8-3/66190)._
