所有下载的源

在Ubuntu下FFmpeg编译,支持x264和x265。

Ubuntu 12.04

FFmpeg 2.1 Release

注意:

cmake要升级要2.8.8

yasm要升级到1.2.0

0000. 资料:

http://stackoverflow.com/questions/19634453/ffmpeg-how-to-generate-a-mp4-with-h-265-codec

FFmpeg supports encoding HEVC/H.265 since 2-12-2014 with libx265. Now you can use ffmpeg directly to encode HEVC or use another encoder than manually mux that into .mp4 using FFmpeg. Of course you can still use some patched FFmpeg build, but it is not recommended.

To make matters more confusing, there are two independent projects both named "x265", one by a Chinese college student and is practically dead, and another by a commercial company called MulticoreWare. Although the former started out first, it is practically dead now, and the latter is under active development and is supported by VideoLAN (the developer of x264).

Anyways, these are a complete set of current possibilities of encoding HEVC in order of my recommendation:

Directly using MulticoreWare libx265 with FFmpeg. This means with the latest Zeranoe build you can now do this:

ffmpeg -i INPUT -x265-params crf=25 OUT.mov

Using standalone MulticoreWare x265 and then mux the resulting file with FFmpeg.

Using DivX HEVC Encoder and then mux it.

Using standalone Chinese x265 then mux the resulting file with FFmpeg.

Using patched FFmpeg with Chinese x265 support.

Update: FFmpeg has HEVC encoding support using MulticoreWare libx265 now.

0001.官方说明:

http://ffmpeg.org/general.html

External libraries

x265

FFmpeg can make use of the x265 library for HEVC encoding.

Go to http://x265.org/developers.html and follow the instructions for installing the library. Then pass --enable-libx265 to configure to enable it.

x265 is under the GNU Public License Version 2 or later (see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html for details), you must upgrade FFmpeg’s license to GPL in order to use it.

0002.安装x264

$git clone git://git.videolan.org/x264.git

$cd x264

$./configure --enable-static --disable-opencl --disable-avs  --disable-cli --disable-ffms --disable-gpac --disable-lavf --disable-swscale

$make

$make install

0003.安装x265

https://bitbucket.org/multicoreware/x265/wiki/Home

# ubuntu packages:

$ sudo apt-get install mercurial cmake cmake-curses-gui build-essential yasm

# Note: if the packaged yasm is older than 1.2, you must download yasm-1.2 and build it

$ hg clone https://bitbucket.org/multicoreware/x265

$ cd x265/build/linux

$ ./make-Makefiles.bash

# 这里将 LOG_CU_STATISTICS 设置为ON,然后,按下“c”,实现configure,按下“q”退出

$ make

$ make install

0004.下载ffmpeg

从 http://ffmpeg.org/download.html 下载ffmpeg 2.1版本源码

$./configure --enable-libx264 --enable-libx265 --enable-gpl

$make

$make install

转载于:https://blog.51cto.com/neicole/1363552

在Ubuntu下FFmpeg编译,支持x264和x265(HECV)相关推荐

  1. ubuntu下ffmpeg编译安装

    ubuntu下ffmpeg编译安装 解决库链接不上的问题 ubuntu下ffmpeg编译安装   1.ffmpeg是什么东西?相信很多人第一次接触这个东西,我先在这里做个简单的介绍. FFmpeg是一 ...

  2. 【X265】Win10环境编译FFmpeg,集成 x264、x265、avs2

    在Win10中编译完x264.x265后,开始编译FFmpeg,并将集成这几个主流视频编解码算法 准备 系统环境: Win10 + VS2019 编译环境: Mingw64 + msys2 + cma ...

  3. 在Ubuntu下,编译Kernel报错:Makefile:xxx: recipe for target 'xxx' failed

    **在Ubuntu下,编译Kernel报如下错误:** Makefile:xxx: recipe for target 'xxx' failed make[2]:***[arch/arm/boot/c ...

  4. android 编译mupdf,Android mupdf在Ubuntu下的编译教程(最详细的教程)

    mupdf是一个国外的打开pdf的开源框架,就不多做介绍了,直接入正题. 一.Ubuntu的安装(网上很多教程) 二.Ubuntu下安装ndk环境(网上很多教程) 三.mupdf的源码获取方式: 1. ...

  5. 基于HarmonyOS的WIFI智能冰箱:在Ubuntu下搭建编译环境

    Ubuntu下搭建编译环境 1.首先选择linux的系统.推荐采用ubuntu18.04.2,最新的ubuntu20.01太过酷炫,这个版本稳定时间长,是最可靠的版本. 基本条件是: ①Linux服务 ...

  6. kbe之ubuntu下的编译

    感觉之前的博客已经整理了大多数之前的关于基础的私人笔记, 现在应该可以讨论一下实操的东西了. 先来一发之前的kbe在ubuntu下的编译笔记吧, 因为官方对于ubuntu下的kbe编译文档是有问题的. ...

  7. Ubuntu 下ffmpeg安装说明、doc/examples编译运行、264裸码流解码

    1. 安装X264 git clone https://code.videolan.org/videolan/x264.git cd x264 ./configure --enable-shared ...

  8. Linux下 FFmpeg 编译安装

    FFmpeg是一套可以用来记录.转换数字音频.视频,并能将其转化为流的开源计算机程序. 官网:http://ffmpeg.org 一.FFmpeg安装 安装依赖包: yum install libth ...

  9. FFmpeg编译支持AV1编解码器libaom-av1

    编译av1的库 libaom-av1 cd ~/ffmpeg_sources && \ git -C aom pull 2> /dev/null || git clone --d ...

最新文章

  1. html 地图 自动适应,Html显示地图
  2. gradle更换仓库 解决下载速度慢问题
  3. 【计算理论】图灵机 ( 非确定性图灵机 -> 确定性图灵机 | 模仿过程示例 | 算法的数学模型 )
  4. 什么是用户与计算机硬件之间的桥梁,计算机应用基础简答题(附答案)
  5. HTTP 状态代码及其定义(转载)
  6. azure模型训练_如何在Azure Machine Learning Studio上开发K-Means模型
  7. 使用Scrapy框架爬取网页并保存到Mysql
  8. 招聘面试的套路与原则
  9. 网络工程师考试经验总结
  10. 单片机C语言延时程序
  11. CAD制图初学入门技巧:如何批量生成CAD填充边界?
  12. python打包成独立exe_用PyInstaller把Python代码打包成单个独立的exe可执行文件
  13. linux搭建erp教程,Ubuntu 12.04+OpenERP7.0安装笔记
  14. NILM-组合优化算法 combinationrial optimization(附代码)
  15. div 内 图片 垂直居中
  16. 基于C#开发一款益智类一笔画小游戏
  17. docker笔记 - container name 冲突
  18. 八、CISP 教材缩略语(2019 版)
  19. Electron桌面悬浮球工具,支持拖动及配置,提供了待办事项、快速笔记等功能。
  20. c语言-输出倒三角图案

热门文章

  1. expires与etag控制页面缓存的优先级
  2. Linux Find 命令精通指南
  3. GridView控件修改、删除示例(修改含有DropDownList控件)
  4. 【Go】Go基础(六):数组、切片slice、映射map
  5. 【Go】Go基础(五):函数
  6. 【linux】Valgrind工具集详解(十):SGCheck(检查栈和全局数组溢出)
  7. web前端知识点太多_初学web前端,学习方法容易走偏,这是为什么?
  8. 安卓蓝牙键盘按键映射_双层按键功能自定义:魔蛋68蓝牙双模机械键盘体验
  9. java wait abc_java----wait/notify
  10. Java项目:星际争霸游戏(java+swing+awt界面编程+IO输入输出流+socket+udp网络通信)