x265探索与研究(五):怎样用VS调试x265?

怎样用VS调试x265?


1、设置cli为启动项


        用VS打开project项目。例如以下图:




        右击cli,设置为启动项。例如以下图:




2、配置路径和命令行參数


        右击cli选择Properties,例如以下图所看到的




        进入例如以下界面:




        将Command Arguments和Working Directory中的内容填写好就可以。


        示比例如以下:

Command Arguments:


--preset fast --input hall_cif_352x288_300.yuv --fps 30 --input-res 352x288 --output out.bin --psnr --ssim --bitrate 128


Working Directory:


C:\Users\Fred\Desktop\DaHuaTech\x265\x265_1.8\build\vc10-x86\Release


3、Build与Debug


        进行build solution后直接调试就可以,例如以下图:




吐舌头

posted on 2017-08-06 19:19  wgwyanfs  阅读(159)  评论(0编辑  收藏  举报

导航