Difference between revisions of "Viper"

From fd.io
Jump to: navigation, search
(Viper Player for ICN)
Line 17: Line 17:
 
* Qt5.7
 
* Qt5.7
 
* QtAV
 
* QtAV
 +
 +
== Quick Start ==
 +
 +
=== Installation from binary packages ===
 +
 +
Ubuntu 16.04
 +
<syntaxhighlight lang="bash">
 +
$ 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
 +
</syntaxhighlight>
 +
 +
=== Installation from source code ===
  
 
== Build the dependencies ==
 
== Build the dependencies ==

Revision as of 16:47, 18 April 2017

Viper Player for ICN

This application is designed to provide a tool to test the adaptation video streaming using the ICN protocol stack.

Dependencies

  • ffmpeg
  • libboost-system-dev
  • libparc
  • libccnx-common
  • libccnx-transport-rta
  • long-bow
  • libxml2
  • libcurl4
  • libdash
  • libicnet
  • Qt5.7
  • QtAV

Quick Start

Installation from binary packages

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

Installation from source code

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:

 $ cd viper
 $ mkdir build && cd build
 $ qmake ../viper.pro
 $ make
 $ ./viper

Platforms

Viper has been tested in:

- Ubuntu 16.04 (x86_64)
- MacOSX 10.12 (experimental)