您的位置:首页 > 其它

How to use HM software(H.265)

2011-09-24 09:13 281 查看
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种情况的配置文件做类似修改即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: