HM13.0 TAppDecoder参数设置

来源:互联网 发布:视频配音软件下载 编辑:程序博客网 时间:2024/05/17 06:52

最近研究HEVC,在使用编码器过程中出现如下错误:

C:\Users\lenovo>E:\h265\HM-13.0\HM-13.0\bin\vc8\win32\debug\TAppEncoder.exe -i E
:\h265\YUVviewer_plus\YUV_viewer\foreman_qcif.yuv -fr 24 f 1200 -QuadtreeTULog2M
axSize 5


HM software: Encoder Version [13.0][Windows][VS 1400][32 bit]
Unknown option: `QuadtreeTULog2MaxSize' (value:`5')
Unhandled argument ignored: `f'
Unhandled argument ignored: `1200'
******************************************************************
** WARNING: --SEIDecodedPictureHash is now disabled by default. **
**          Automatic verification of decoded pictures by a     **
**          decoder requires this option to be enabled.         **
******************************************************************
***************************************************************************
** WARNING: For conforming bitstreams a valid Profile value must be set! **
***************************************************************************
***************************************************************************
** WARNING: For conforming bitstreams a valid Level value must be set!   **
***************************************************************************
Error: Total Number Of Frames encoded must be more than 0
Error: QuadtreeTULog2MaxSize must be 5 or smaller.


Error: found fewer Reference Picture Sets than GOPSize
Error: Invalid GOP structure given

添加QuadtreeTULog2MaxSize 5 后参数不能识别

C:\Users\lenovo>E:\h265\HM-13.0\HM-13.0\bin\vc8\win32\debug\TAppEncoder.exe -i E
:\h265\YUVviewer_plus\YUV_viewer\foreman_qcif.yuv -fr 24 -f 1200 --QuadtreeTULog
2MaxSize 5


HM software: Encoder Version [13.0][Windows][VS 1400][32 bit]
Unhandled argument ignored: `5'
******************************************************************
** WARNING: --SEIDecodedPictureHash is now disabled by default. **
**          Automatic verification of decoded pictures by a     **
**          decoder requires this option to be enabled.         **
******************************************************************
***************************************************************************
** WARNING: For conforming bitstreams a valid Profile value must be set! **
***************************************************************************
***************************************************************************
** WARNING: For conforming bitstreams a valid Level value must be set!   **
***************************************************************************
Error: QuadtreeTULog2MaxSize must be greater than or equal to m_uiQuadtreeTULog2
MinSize.


Error: found fewer Reference Picture Sets than GOPSize
Error: Invalid GOP structure given


最终解决方案:在参数中加入cfg参数,如下所示

C:\Users\lenovo>E:\h265\HM-13.0\HM-13.0\bin\vc8\win32\debug\TAppEncoder.exe -i E:\h265\YUVviewer_plus\YUV_viewer\foreman_qcif.yuv -b E:\hevc.hm10 -wdt 864 -hgt
480 -fr 23.976 -g 2 -f 3623 -q 20 -c E:\h265\HM-13.0\HM-13.0\cfg\encoder_intra_main.cfg


参考:

http://www.linkedin.com/groups/How-run-HEVC-cmodel-Thanks-3724292.S.93881042?qid=13f121ba-7dc5-41de-b165-318c035dc88c&trk=groups_guest_most_popular-0-b-ttl&goback=.gmp_3724292




0 0