How to use HM software(H.265)

1.下载

在windows下用TortoiseSVN工具下载,仓库位置:https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/


2.修改配置文件

找到 HEVCSoftware\trunk\cfg\encoder_lowdelay_P_loco.cfg,在文件开头做如下修改:

•#========File I/O =====================
•InputFile                          :D:\video\foreman_352x288_30p.yuv           #表示输入的YUV文件
InputBitDepth                 : 8           # Input bitdepth
•FrameRate                     : 25          # Frame Rate per second
•FrameSkip                     : 0           # Number of frames to be skipped ininput
•SourceWidth                   : 352         # Input  frame width
•SourceHeight                  : 288         # Input  frame height
•FrameToBeEncoded       : 200         # Number of frames to be coded
•BitstreamFile                 :D:\video\foreman_352x288_30p_lcldp_qp28.hevc         #表示输出的二进制码流文件
•ReconFile                     :D:\video\foreman_352x288_30p_lcldp_qp28_rec.yuv     # 表示输出的重建YUV文件

另存为forman_encoder_lowdelay_loco.cfg

3. 编译可执行代码

找到HEVCSoftware\trunk\build\HM_vc9.sln,用vs2008打开, build...


4.执行种情况的配置文件做类似修改即可。

在windows的命令行模式下输入以下命令:

D:\HEVCSoftware\trunk\bin\vc9\Win32\Debug\TAppEncoder.exe -c D:\HEVCSoftware\trunk\cfg\forman_encoder_lowdelay_loco.cfg

红色部分文字要根据自己的文件存储路径进行修改


以上举例的配置文件是针对低复杂度(LC),I,P帧低延时模式的,其它7种情况的配置文件做类似修改即可。



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值