Viper

From fd.io
Revision as of 11:33, 13 May 2019 by Manang (Talk | contribs)

Jump to: navigation, search

Viper Player for ICN

VIPER is an MPEG-DASH video player that supports video retrieval using TCP or CICN from an HTTP video server using several video qualities. VIPER implements a variety of adaptive controllers such as PANDA, AdapTech, and BOLA. It supports video qualities up to UHD but best tablets can render up to FHD such as iPad Pro or Google Pixel. The video player does not support audio streams as it is mainly used as a prototype for demonstrations. This feature will be available later on.

Dependencies

  • ffmpeg
  • libparc
  • libxml2
  • libcurl4
  • libdash (see inside libdash folder of viper project)
  • Qt5.7 or higher
  • QtAV

If ICN

  • libccnx-common
  • libccnx-transport-rta
  • long-bow
  • libicnet

If hICN

  • llibhicntransport

Quick Start

Installation from binary packages

Android 7 (to appear on Google Play)

Download apps from the following link

https://jenkins.fd.io/view/cicn/job/cicn-android-sdk-merge-master-ubuntu1604/

Ubuntu 16.04

 $ sudo apt-get install software-properties-common
 $ echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.$(lsb_release -sc).main/ ./" \
          | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 $ sudo add-apt-repository --yes ppa:beineri/opt-qt571-xenial
 $ wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
 $ echo "deb [trusted=yes] http://archive.getdeb.net/ubuntu xenial-getdeb apps" | sudo tee -a /etc/apt/sources.list.d/getdeb.list
 $ sudo apt-get update
 $ sudo apt-get install viper

Build the dependencies

  • QtAV For building and install the library, from the root folder of the projet:
 $ git clone https://github.com/wang-bin/QtAV
 $ cd QtAV
 $ mkdir build && cd build
 $ qmake ../QtAV.pro
 $ make
 $ sh sdk_install.sh
  • libdash For building the player, from the root folder of the project:
 $ git clone -b viper/master https://gerrit.fd.io/r/cicn viper
 $ cd viper/libdash
 $ mkdir build && cd build
 $ cmake ../
 $ make
 $ make install

Build the player

For building the player, from the root folder of the project:

 $ TRANSPORT=ICN #or HICN
 $ cd viper
 $ mkdir build && cd build
 $ if [ "${TRANSPORT}" == "ICN" ]; then
  	qmake ../viper.pro
    else
        qmake ../viper.pro "TRANSPORT_LIBRARY = HICNET"
    fi
 $ make
 $ ./viper

Platforms

Viper has been tested in:

- Ubuntu 16.04 (x86_64)
- MacOSX 10.13
- Android 7
- iOS 10