Linux平台下cef&chromium编译--加入对h264的支持

背景:

    在cef上进行二次开发,发现默认不只支持h264解码。需要重新编译chromium解决。

步骤:

    https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md#markdown-header-linux-setup 为官方编译指导。主要步骤已经十分详细。下面红字部分补充一些实际编译遇到的问题。

 

前提:

需要fq

需要fq

需要fq!!

需要好用的vpn,或者ssr 加 proxifier 实现全局代理。具体教程网上很多。

 

Linux Setup

What's Required

  • Ubuntu 16.04 LTS 64-bit is recommended. Building with other versions or distros has not been tested and may experience issues.
  • At least 6GB of RAM and 40GB of free disk space.(内存实在不够,可以用swap凑,4g还是起码要的,否则极度影响编译速度。 硬盘空间最好60g以上,40g可能不够)
  • Approximately 2 hours with a fast internet connection (25Mbps) and fast build machine (2.6Ghz+, 4+ logical cores).(虚拟机,单核也没问题,就是耗时巨长。。

Step-by-step Guide

In this example "~" is "/home/marshall". Note that in some cases the absolute path must be used. Environment variables described in this section can be added to your "~/.profile" or "~/.bashrc" file to persist them across sessions.

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值