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> # 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 E@F.com   # './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 <RES> <TYPE>                      # <RES>:[4K,8K] <TYPE>:[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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值