Elecard ViCont

    | |revisiondate|: 2025-03-19 07:35:26 UTC
    | |revisionid|: f0307ec

1. Quick Start

Describing Software

Elecard ViCont is a solution designed for real-time control of content on screens. The software operates in the client-server mode. The client part, which is a player, gets settings from the server and plays a received stream, a playlist consisting of media files, or individual media files.

System Requirements

Player

Server

OS Linux Ubuntu 22.04

OS Linux + Docker

OS Android 7+

ОS Linux + Docker

Working With Server

The ViCont system is operated via a browser.

Supported browsers:

  • Chromium, version 54 and later
  • Google Chrome, version 54 and later
  • Mozilla Firefox, version 47 and later
  • Microsoft Edge, version 100 and later

For a smooth experience, make sure that your browser is updated to the latest version.

Minimum screen resolution required: 1680х1050
For screens with a lower resolution, the proper interface displaying is not guaranteed.

Technical Characteristics

Ubuntu-Based Players

Receiving streams

Protocols: UDP, RTP, SRT
Containers: MPEG2-TS
Video formats: MPEG-2, H.264, H.265
Audio formats: MPEG-1 Layer II, AAC-LC, HE-AAC v1 & v2
Resolutions: SD, HD, Full HD, 4K

Using playlists of files

Containers: MPEG2-TS, MP4
Video formats: MPEG-2, H.264, H.265
Audio formats: MPEG-1 Layer II, AAC-LC, HE-AAC v1 & v2
Resolutions: SD, HD, Full HD, 4K

Statistics sending: over HTTP and SNMP protocols

Android-Based Players

Receiving streams

Protocols: UDP, RTP, SRT, HLS, MPEG DASH
Containers: MP4, MPEG2-TS
Video formats: MPEG-2, H.264, H.265
Audio formats: MPEG-1 Layer II, AAC-LC, HE-AAC v1 & v2
Resolutions: SD, HD, Full HD, 4K

Using playlists of files

Containers: MP4
Video formats: MPEG-2, H.264, H.265
Audio formats: MPEG-1 Layer II, AAC-LC, HE-AAC v1 & v2
Resolutions: SD, HD, Full HD, 4K

Statistics sending: over HTTP and SNMP protocols

Installing ViCont Software

Prerequisites

To install the server part, the following components are required:

  1. Docker. On this page, select the guidelines for Docker installation based on your Linux distribution.

  2. Python 3. Python is pre-installed in most Linux distributions, including Ubuntu. You can check its presence and version using the following command:

    python3 --version
    

If Python is not installed, install it using suitable guidelines from this page.

Installing ViCont Server

Download a server installation package named in the way vicont-bundle-<version>-<tag>.tar.gz and unpack it:

tar -xzvf vicont-bundle-<version>-<tag>.tar.gz

Then go to the vicont-bundle folder:

cd vicont-bundle

Set execute permission for the installation script:

chmod +x *.sh

Run the installation script:

sudo ./deploy.sh [OPTIONS]

You can pass additional arguments in the command. For example, the -n or --no-demo option disables the upload of demo data to the server:

sudo ./deploy.sh --no-demo

Demo data comprises a video file, an example of an editable layout (see the Design section in the User Guide for details), and the latest versions of player packages.

To print a help message about all the available options, pass the -h or --help argument. After this, the execution of the installation script will finish.

After the installation, the web interface will be accessible at http://<server_address>:8090. Instead of server_address, specify any of the available network interfaces.

To log in to the web interface, use the following account credentials 1:

User — admin
Password — Adm!nV1-NT
1

This account cannot be deleted.

It is recommended to change the password after the first login. Next, click on the gear icon in the upper right corner of the interface and select the Server Settings item in the drop-down list. In the window that opens, specify Network interface and Port. This is an address and a port the player will be using to connect to the web server. They are used when installing the player via the web interface. If the address and the port are invalid, the player will not be able to connect to the server during installation.

Changing Server Parameters

The server package contains a hidden .env file. It stores environment variables with assigned values, such as the port number or the log folder path. Variables are described in the file itself in the form of comments. You can edit the values of the variables, if necessary. If you have done it after installing the server, run the rebuild.sh script:

sudo ./rebuild.sh

Otherwise, run deploy.sh.

Also, you can pass variable values directly when running any of the scripts:

sudo ADMIN_USERNAME=admin ADMIN_PASSWORD=admin ./rebuild.sh

or

sudo ADMIN_USERNAME=admin ADMIN_PASSWORD=admin ./deploy.sh

Updating Server

To update the server, download the server update package and unpack it in the same folder where you unpacked the initial package:

tar -xzvf vicont-bundle-<version>-<tag>.tar.gz

Go to the vicont-bundle folder containing the update package:

cd vicont-bundle

Set execute permission for the installation script:

chmod +x *.sh

Run the server update:

sudo ./deploy.sh

Note

During update, access parameters and saved database remain intact.

Since you have probably changed the user credentials after the first login, you need to edit the values of the ADMIN_USERNAME and ADMIN_PASSWORD variables before updating the server to upload the demo data successfully. You can do it either in the .env file or in the /root/.vicont_credentials file.

Values can be passed when running the script as well (see the Changing Server Parameters section).

Note

You may skip editing the values. The server will be updated anyway, but no demo data will be uploaded.

During the update, the script checks the presence of the /root/.vicont_credentials file. If there is no file, the script creates it using the values of the ADMIN_USERNAME and ADMIN_PASSWORD variables or the default admin and Adm!nV1-NT values, correspondingly. The file owner is the root user. Only this user can read and write data from and to the file.

Installing Player

You can install a player using one of the following ways:

Installation via the Web Interface

It is recommended to install a player via the server web interface. You can also download and install a player package directly on the device. This method is described in the Standalone Installation section.

To install a new player or add an existing one without installation, go to the Players page and click the Add button. In the window that opened, you can specify parameters for adding a player or import a list of players from a CSV file.

To add a player, specify the following parameters:

  • Name (required) — the player name for identification.

  • Description — additional information about the player.

  • MAC address (required) — the MAC address of a network interface used by the computer on which the player will be functioning.

  • Group — selection of a group for adding the player. Groups are used for mass player control. In case the group is not specified, the player will be working with individual settings.

  • Package — selection of the player package version if you need to install a new player. Otherwise, leave the Without install value in the field.

If you need to install a new Ubuntu-based player, also specify the following:

  • IP Address and Port (required) — data for connection to the computer over the SSH protocol. The default port is 22.

  • Login and Password (required) — user credentials for remote connection to the computer. Using this account, the system will boot, and the player will start.

_images/adding_players_with_install_ubuntu_en.png

If you need to install a new Android-based player, specify the following:

  • IP Address and Port (required) — the data that should be used to connect to the computer via adb. The default port is 5555.

_images/adding_players_with_install_android_en.png

After setting all the parameters, click the Apply button.

You can add multiple players at a time, using a special template form in the CSV format. To download the form, click the CSV Template button. Fill in the form and click the Import From CSV button. Check imported parameters and apply changes.

Standalone Installation

Download the player ZIP package to the target computer. For this, click the gear icon in the upper right corner of the page and select the Player Packages section. In the opened page, select the required Ubuntu- or Android-based player package and click the appeared download icon in the Control column. You can only choose from packages that were uploaded to the server beforehand.

Installing an Ubuntu-Based Player

Note

To install a player in the standalone mode, the user should have the sudo privileges.

  1. Extract files from the downloaded ZIP archive with an Ubuntu-based player to a folder of your choice:

    unzip <archive_name>
    

    The archive contains the following files:

    • Installation guide (readme)

    • Configuration file (config.json)

    • An archive with the player package (tar.gz)

    • Installation file (install)

  2. Go to the config.json file and check that the ViCont server address is correct:

    "server": {
        "address": "127.0.0.1",
        "port": 8090
    }
    
  3. Specify a real IP address in the address string and a real port number in the port string.

  4. Run the player installation from the user having sudo privileges.

    sudo ./install -p <path_to_player_package> -u <username>
    

    Specify the actual values instead of <path_to_player_package> and <username>, for example:

    sudo ./install -p ./Elecard.Player-1.2.9.tar.gz -u user
    
  5. Then reboot the computer:

    sudo reboot
    

Following the reboot, the player will automatically start up, connect to the server, and begin streaming live content or playing files according to a playlist. When there are no available streams or files, the player will display a black screen.

Installing an Android-Based Player

An Android-based player comes in the form of an APK package. There are two methods to install it.

Method 1: using the adb tool

  1. Extract files from the downloaded ZIP archive with the Android-based player to a folder of your choice.

    The archive comprises the following files:

    • Player installation guide (readme)

    • An archive with the player APK package (tar.gz)

  2. Unpack the tar.gz archive with the player package.

  3. Activate Developer options on the Android device.

  4. If you don’t have the adb tool on your computer, download it. Open the link, go to the Downloads section, and select a version that is suitable for your computer. Click the name of the chosen version to download a ZIP archive with adb.

  5. Unpack the archive in a folder on the computer and go to this folder using the terminal.

  6. Connect to the Android device:

    adb connect <Android_device_IP_address>:5555
    
  7. Install the player package from the archive:

    adb install <path_to_player_package>
    

    Instead of <path_to_player_package> specify a path to the installed package, for example:

    adb install C:\Android\Elecard.Player-0.1.26.apk
    
  8. Run the player:

    adb shell am start -n com.elecard.vicont.player/com.elecard.vicont.player.MainActivity
    

Method 2: installing directly on the device

  1. Download, unpack and install the player package (APK) directly on the Android device.

  2. Run the player by clicking the Vicont Player icon.

When you first run an Android-based player installed in the standalone mode, you will see a screen where you need to enter the IP address and the port of the server. Enter the address and the port and click CONNECT.

_images/android_start_screen.png

If you are installing a player via adb, the appearance of the screen may be avoided by running the following command:

adb shell am start -n com.elecard.vicont.player/com.elecard.vicont.player.MainActivity -e serverAddress "http://<server_address>:8090"

Note

Players installed in the standalone mode can be added in the ViCont web interface via the PlayersUnregistered players tab.

Adding new users

To add a new user, click the gear icon in the upper right corner of the page and select the Users section. On the opened page, click the Add button. Specify the user name and role, as well as the password to access the system. You can add users with the following roles:

  • Guest — a read-only access providing the ability to view all information without the possibility to make any changes. This role doesn’t allow changing user credentials.

  • Operator — full access to the system without the possibility to work with users.

  • Administrator — full access to the system with the possibility to add or delete users.

As you specify all fields, click the Add button. A new user will be added to the system and appear on the page. If required, you can change the user credentials and(or) role even after the user has been added. Further, send the credentials to the user.