Intel OMAF install and compile note

Preparatory

OS: ubuntu 18.04

1. update os

sudo apt update

sudo apt upgrade

2.insatll tools

sudo apt-get install libgoogle-glog-dev cmake clang curl -y

3.install docker

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

4.download source code 

git clone https://github.com/OpenVisualCloud/Immersive-Video-Sample.git

Install steps:

1.Immersive-Video-Sample/OMAF-Sample/server/DockFiles

epel-release-7-13.noarch.rpm  
CHANGE to
epel-release-7-14.noarch.rpm  

RUN  wget -O - ${YASM_REPO} | tar xz && \
CHANGE to
RUN  wget -O - ${YASM_REPO} --no-check-certificate | tar xz && \

RUN wget ${CURL_REPO} && \
CHANGE to
RUN wget ${CURL_REPO} --no-check-certificate  && \

#if wget any url require certificate, plese add the --no-check-certificate

2.following the intel command

  • Server :

    cd path_to/Immersive-Video-Sample/OMAF-Sample/server
    mkdir build && cd build
    cmake .. -DHTTP_PROXY= # proxy is optional
    make build -j $(nproc)
    docker image ls        # [REPOSITORY:immersive_server, TAG:v1.4]
  • Client :
    cd OMAF-Sample/client && ./deploy.sh

Run steps:

1.server

docker run --privileged -p 30001:443 -p 30002:8080 -it immersive_server:v1.4 /bin/bash  # Map the port.
cd /usr/local/nginx/conf/
./configure.sh CN Shanghai A B C D [email protected]   # './configure.sh -h' for details.
/usr/local/nginx/sbin/nginx     # Start nginx.
cd /home/immersive/Sample-Videos 
#modify  config_low.xml and config_hight.xml files,

targetSocket="1"
IsNative="true"

#delete tow lines : net address and port


./run.sh                        # :[4K,8K] :[LIVE,VOD]

2.ubuntu client

following the intel command

3.android client

a.NDK

script will install the NDK automatically.

please check the NDK dir, if not setting in PATH pls add it.

sudo gedit /etc/profile

#set NDK environment
export NDK_HOME=/your/intel/path/Immersive-Video-Sample/src/build/external/android/android-ndk-r18b
export PATH=$NDK_HOME:$PATH

enable :
source /etc/profile

#add the NDK path to android studio

ndk.dir=/your/intel/path/Immersive-Video-Sample/src/build/external/android/android-ndk-r18b

b. SDK

add the Andoird SDK 10.0 in  android studio.

c. complie the android apk following the instructor of intel

你可能感兴趣的:(视频编解码,音视频)