GPAC-android端編譯

參考官方文檔,基本上可以沒有問題
https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Android

一、用ubuntu的源不能下載jdk,需要使用阿里源

1、備份原有源

sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vi /etc/apt/sources.list

2、使用阿里源內容

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

3、更新源

sudo apt update

4、設置當且需要的jdk

sudo update-alternatives --config java

二、同步代碼最好要文明上網(wǎng),不然很多內容不能同步

使用Windows客戶端推流或者播放
客戶端地址:https://gpac.wp.imt.fr/downloads/
推流方法:

./gpac.exe httpout:rdirs="E:/Videos/dashTest/dashSRD360":dlist=true:maxc=0:maxp=0:port=8080

播放方法:

./gpac.exe -gui http://localhost:8080/srd_360.mpd#VR
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容