HEVC(H.265)标准的编码器(x265,DivX265)试用

基于HEVC(H.265)的的应用级别的编码器发展的速度很快。所说的应用级别,就是指速度比较快的,有实际应用价值的编码器。目前可以直接使用的有两个:x265,DivX265。

DivX265

DivX265是DivX发布的HEVC编码器,不开源,但是免费,是基于控制台的。

官方网站:http://labs.divx.com/divx265

自己上传了一个exe(Windows):http://download.csdn.net/detail/leixiaohua1020/6890879

官方网站上有个性能测试:

 

使用方法简介:

 

DivX265 -i <infile> -o <outfile> -br <bitrate> -s <w>x<h> (for raw infile)

 

或: DivX265 -i <infile> -o <outfile> -br <bitrate> (for .avs|.avi infile)

或: DivX265 -h (for help)

 

x265

x265是开源的项目,发展的速度很快,程序接口还在变动。记得之前有人曾经想把它的库libx265集成到ffmpeg中,这样ffmpeg就能编码HEVC了。但是前一阵子我试了一下发现不行,原先写的那个集成用的patch已经不能用了。

x265源代码编译还是比较简单的,试了一下,基本上是“一路顺风”,没有遇到什么错误,直接生成了可执行文件。

官方网站:http://x265.org/

编译好的版本(Windows):http://download.csdn.net/detail/leixiaohua1020/6890893

源代码地址:https://bitbucket.org/multicoreware/x265

其他资源:

x265.cc --- Unofficial buildbot。包含了最新版本的exe。

x265GUI --- by ozok。x265图形界面工具。

avs4x265 --- by Kurtnoise

x265.ru --- by Fllear

使用方法简介:

最简单的命令类似:

 

x265 --input-res 480x272 --fps 25 src01_480x272.yuv -o src01_x265.h265

详细的命令可以查看帮助。

 

ffmpeg+x265,DivX265

ffmpeg和x265,DivX265联合使用可以通过pipe实现。可以直接将ffmpeg的输出指定为x265或DivX265的输入。命令如下所示:

 

ffmpeg -i cuc_ieschool.flv -f rawvideo -pix_fmt yuv420p - | DivX265.exe -s 512x288 -br 100 -i - -o cuc_ieschool.hevc



 

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Open Source (GPL) H.265/HEVC video encoder 下载网址:https://bitbucket.org/multicoreware/x265/src x265 developer wiki To compile x265 you must first install Mercurial (or TortoiseHg on Windows) and CMake. Then follow these easy steps: (for the most definitive instructions, consult our build README) Linux Instructions # 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 $ make Windows (Visual Studio) Instructions $ hg clone https://bitbucket.org/multicoreware/x265 Then run make-solutions.bat in the build\ folder that corresponds to your favorite compiler, configure your build options, click 'configure', click 'generate', then close cmake-gui. You will be rewarded with an x265.sln file. Also see cmake documentation. Intel Compiler Instructions On Windows, you should open an Intel Compiler command prompt and within it run one of the make-makefiles.bat scripts in build/icl32 or build/icl64, then run nmake. On Linux, you can tell cmake to build Makefiles for icpc directly. This requires you to have configured Intel's compiler environment (by sourcing the appropriate shell script). For example: $ source /opt/intel/composer_xe_2013/bin/compilervars.sh intel64 $ cd repos/x265/build/linux $ export CXX=icpc $ export CC=icc $ ./make-Makefiles $ make Command line interface The Makefile/solution builds a static encoder.lib library and a standalone x265 executable that aims to be similar to x264 in its command line interface. Running without arguments shows you the command line help. Info Mission Statement Road Map TODO HOWTO add a new encoder performance primitive HOWTO Contribute patches to x265 HOWTO cross compile from Linux to Windows Coding Style Helpful links
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值