开发平台:DM8127+ipnc-rdk3.5
建立的chain可以实现h264对1080p视频的压缩,但是若把视频源换成PAL(720*576)制式的视频,则报错
ipnc3.5能用h264标准压缩PAL(720*576)制式的视频吗?
Chris Meng:
你好,
IPNC RDK代码本身就支持1080p+D1 h264 双码流的输出,所以标清的h264enc是没有问题的。请问报错是哪里报错?
Huchong Li:
回复 Chris Meng:
你好,Chris,报错的信息如下:
[m3video] pInChInfo->width = 720, pInChInfo->height = 576
[m3video] EncLinkH264_algCreate(): enclink_h264_control() algStatus = 0
[m3video] EncLinkH264_algCreate() 1399: tileMem.width = 0
[m3video] EncLinkH264_algCreate() 1400: tileMem.height = 0
[m3video] EncLinkH264_algCreate() 1411: tileMem.width = 622080
[m3video] EncLinkH264_algCreate() 1412: tileMem.height = 0
[m3video] enclink_h264_set_algObject() 761: tileMem.width = 622080
[m3video] enclink_h264_set_algObject() 762: tileMem.height = 0
[m3video] enclink_h264_set_algObject() 769: status.videnc2Status.bufInfo.minNumOutBufs = 2
[m3video] enclink_h264_set_algObject() 775: i = 0, tileMem.width = 622080
[m3video] enclink_h264_set_algObject() 776: i = 0, tileMem.height = 0
[m3video] enclink_h264_set_algObject() 775: i = 1, tileMem.width = 148172
[m3video] enclink_h264_set_algObject() 776: i = 1, tileMem.height = 0
[m3video] enclink_h264_set_algObject() 793: i = 1, videnc2Status.bufInfo.minOutBufSize[i].bytes = 148172
[m3video] enclink_h264_set_algObject() 794: i = 1, algCreateParams->mvDataSize = 38880
[m3video] 13614: Assertion @ Line: 797 in links_m3video/iva_enc/encLink_h264.c: (status->videnc2Status.bufInfo.minOutBufSize[i].bytes < algCreateParams->mvDataSize) : failed !!!
ApproDrvInit: 7
queue id:131076
Chris Meng:
回复 Huchong Li:
你好,
从出我信息看看是创建参数设置有问题(status->videnc2Status.bufInfo.minOutBufSize[i].bytes < algCreateParams->mvDataSize),你能够再确认一下么?