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:UsersFredDesktopDaHuaTechx265x265_1.8uildvc10-x86Release


3、Build与Debug


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




吐舌头

原文地址:https://www.cnblogs.com/wgwyanfs/p/7295684.html