TI中文支持网
TI专业的中文技术问题搜集分享网站

编码码率低于1M时有编码后无数据的现象

大家好

  因客户需求,我们需要在 720P 30 幀的情况下使码率降至于 1M 以下,但我将编码码率低于1M时有编码后无数据的现象,该问题是否有解决办法?谢谢。

   开发环境与CE的日志见下面,请关注CE日志中红色部分。

 我们的环境:   DM6467

开发组建

版本号

DVSDK

2_00_00_22

Linux kernel

2_6_18

dmai

1_20_00_06

codec_engine

2_26_02_11

dm6467_dvsdk_combos

2_05

h264enc

1.20.02.00

h264fhdvenc

01.10.02.03

aacheenc

1.20.005

dsplink

1_65_01_06

framework_components

2_26_00_01

compiler

mv_pro_5.0

CE 日志

[DSP] @89,434,662tk: [+5 T:0x8ba4317c] CN – NODE> 0x8fb14ac0(aacheenc#0) call(algHandle=0x8fb14b88, msg=0x8fe04880); messageId=0x000227fa
[DSP] @89,434,744tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> Enter(addr=0x88ec4000, sizeInBytes=4096)
[DSP] @89,434,799tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> return
[DSP] @89,434,832tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> Enter(addr=0x88ecc000, sizeInBytes=1536)
[DSP] @89,434,884tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> return
[DSP] @89,434,919tk: [+0 T:0x8ba4317c] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Enter (handle=0x8fb14b88, inBufs=0x8ba477d4, outBufs=0x8ba47898, inArgs=0x8fe04a38, outArgs=0x8fe04a4c)
[DSP] @89,435,019tk: [+5 T:0x8ba4317c] CV – VISA_enter(visa=0x8fb14b88): algHandle = 0x8fb14bc0
[DSP] @89,435,068tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Enter(alg=0x8fb14bc0)
[DSP] @89,435,121tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Exit
[DSP] @89,438,139tk: [+5 T:0x8ba4317c] CV – VISA_exit(visa=0x8fb14b88): algHandle = 0x8fb14bc0
[DSP] @89,438,225tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Enter(alg=0x8fb14bc0)
[DSP] @89,438,284tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Exit
[DSP] @89,438,329tk: [+0 T:0x8ba4317c] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Exit (handle=0x8fb14b88, retVal=0x0)
[DSP] @89,438,390tk: [+0 T:0x8ba4317c] OM – Memory_cacheWb> Enter(addr=0x88ecc000, sizeInBytes=1536)
[DSP] @89,438,452tk: [+0 T:0x8ba4317c] OM – Memory_cacheWb> return
[DSP] @89,438,493tk: [+5 T:0x8ba4317c] CN – NODE> returned from call(algHandle=0x8fb14b88, msg=0x8fe04880); messageId=0x000227fa
@34,058,059us: [+0 T:0x4436c490] CE – Engine_fwriteTrace> returning count [1671]
@34,058,184us: [+0 T:0x4436c490] CV – VISA_call Completed: messageId=0x000227fa, command=0x0, return(status=0)
@34,058,308us: [+5 T:0x4436c490] CV – VISA_freeMsg(0x304cb0, 0x4537d880): Freeing message with messageId=0x000227fa
@34,058,419us: [+0 T:0x4436c490] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Exit (handle=0x304cb0, retVal=0x0)
@34,067,885us: [+0 T:0x47df1490] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Enter (handle=0x30df88, inBufs=0x47df0c48, outBufs=0x47df0c3c, inArgs=0x47df0c2c, outArgs=0x47df0bb4)
@34,068,047us: [+4 T:0x47df1490] CV – VISA_getMaxMsgSize(0x30df88): returning 0x1000
@34,068,152us: [+5 T:0x47df1490] CV – VISA_allocMsg> Allocating message for messageId=0x0003d936
@34,068,273us: [+0 T:0x47df1490] CV – VISA_call(visa=0x30df88, msg=0x4537f880): messageId=0x0003d936, command=0x0
[DSP] @89,479,334tk: [+5 T:0x8bddb4a4] CN – NODE> 0x8fb15038(h264enc#1) call(algHandle=0x8fb150b0, msg=0x8fe06880); messageId=0x0003d936
[DSP] @89,479,420tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8adbf000, sizeInBytes=921600)
[DSP] @89,480,470tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,480,503tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8aea0000, sizeInBytes=460800)
[DSP] @89,481,053tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,481,086tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8df1f000, sizeInBytes=921600)
[DSP] @89,482,134tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,482,171tk: [+0 T:0x8bddb4a4] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Enter (handle=0x8fb150b0, inBufs=0x8bde02bc, outBufs=0x8bde038c, inArgs=0x8fe06a04, outArgs=0x8fe06a10)
[DSP] @89,482,273tk: [+5 T:0x8bddb4a4] CV – VISA_enter(visa=0x8fb150b0): algHandle = 0x8fb150e8
[DSP] @89,482,325tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Enter(alg=0x8fb150e8)
[DSP] @89,482,387tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Exit
[DSP] @89,482,554tk: [+5 T:0x8bddb4a4] CV – VISA_exit(visa=0x8fb150b0): algHandle = 0x8fb150e8
[DSP] @89,482,608tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Enter(alg=0x8fb150e8)
[DSP] @89,482,662tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Exit
[DSP] @89,482,705tk: [+0 T:0x8bddb4a4] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Exit (handle=0x8fb150b0, retVal=0x0)
[DSP] @89,482,763tk: [+5 T:0x8bddb4a4] CN – NODE> returned from call(algHandle=0x8fb150b0, msg=0x8fe06880); messageId=0x0003d936
@34,072,082us: [+0 T:0x47df1490] CE – Engine_fwriteTrace> returning count [1678]
@34,072,204us: [+0 T:0x47df1490] CV – VISA_call Completed: messageId=0x0003d936, command=0x0, return(status=0)
@34,072,331us: [+7 T:0x47df1490] OM – Memory_getVirtualAddress> Error: buffer (physAddr=0x8bc12a20, size=0x126000) not found in translationcache

Ensure that you have registered this buffer with Memory_registerContigBuf()
@34,072,454us: [+7 T:0x47df1490] OM – Memory_getVirtualAddress> Error: buffer (physAddr=0x8bd3406e, size=0x93000) not found in translationcache

Ensure that you have registered this buffer with Memory_registerContigBuf()
@34,072,565us: [+5 T:0x47df1490] CV – VISA_freeMsg(0x30df88, 0x4537f880): Freeing message with messageId=0x0003d936
@34,072,668us: [+0 T:0x47df1490] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Exit (handle=0x30df88, retVal=0x0)
@34,072,768us: [+2 T:0x47df1490] ti.sdo.dmai – [Venc1] VIDENC1_process() ret 0 generated 0 bytes
Warning, writer received 0 byte encoded frame
@34,073,554us: [+0 T:0x4436c490] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Enter (handle=0x304cb0, inBufs=0x4436bc28, outBufs=0x4436bb64, inArgs=0x4436bb50, outArgs=0x4436bb3c)
@34,073,712us: [+4 T:0x4436c490] CV – VISA_getMaxMsgSize(0x304cb0): returning 0x1000
@34,073,826us: [+5 T:0x4436c490] CV – VISA_allocMsg> Allocating message for messageId=0x000227fb
@34,073,951us: [+0 T:0x4436c490] CV – VISA_call(visa=0x304cb0, msg=0x4537d880): messageId=0x000227fb, command=0x0
[DSP] @89,495,506tk: [+5 T:0x8ba4317c] CN – NODE> 0x8fb14ac0(aacheenc#0) call(algHandle=0x8fb14b88, msg=0x8fe04880); messageId=0x000227fb
[DSP] @89,495,588tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> Enter(addr=0x88ec4000, sizeInBytes=4096)
[DSP] @89,495,643tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> return
[DSP] @89,495,676tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> Enter(addr=0x88eca000, sizeInBytes=1536)
[DSP] @89,495,728tk: [+0 T:0x8ba4317c] OM – Memory_cacheInv> return
[DSP] @89,495,763tk: [+0 T:0x8ba4317c] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Enter (handle=0x8fb14b88, inBufs=0x8ba477d4, outBufs=0x8ba47898, inArgs=0x8fe04a38, outArgs=0x8fe04a4c)
[DSP] @89,495,861tk: [+5 T:0x8ba4317c] CV – VISA_enter(visa=0x8fb14b88): algHandle = 0x8fb14bc0
[DSP] @89,495,910tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Enter(alg=0x8fb14bc0)
[DSP] @89,495,963tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Exit
[DSP] @89,498,994tk: [+5 T:0x8ba4317c] CV – VISA_exit(visa=0x8fb14b88): algHandle = 0x8fb14bc0
[DSP] @89,499,078tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Enter(alg=0x8fb14bc0)
[DSP] @89,499,137tk: [+0 T:0x8ba4317c] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Exit
[DSP] @89,499,181tk: [+0 T:0x8ba4317c] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Exit (handle=0x8fb14b88, retVal=0x0)
[DSP] @89,499,241tk: [+0 T:0x8ba4317c] OM – Memory_cacheWb> Enter(addr=0x88eca000, sizeInBytes=1536)
[DSP] @89,499,302tk: [+0 T:0x8ba4317c] OM – Memory_cacheWb> return
[DSP] @89,499,342tk: [+5 T:0x8ba4317c] CN – NODE> returned from call(algHandle=0x8fb14b88, msg=0x8fe04880); messageId=0x000227fb
@34,077,927us: [+0 T:0x4436c490] CE – Engine_fwriteTrace> returning count [1671]
@34,078,048us: [+0 T:0x4436c490] CV – VISA_call Completed: messageId=0x000227fb, command=0x0, return(status=0)
@34,078,164us: [+5 T:0x4436c490] CV – VISA_freeMsg(0x304cb0, 0x4537d880): Freeing message with messageId=0x000227fb
@34,078,309us: [+0 T:0x4436c490] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Exit (handle=0x304cb0, retVal=0x0)
@34,085,741us: [+0 T:0x47df1490] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Enter (handle=0x30df88, inBufs=0x47df0c48, outBufs=0x47df0c3c, inArgs=0x47df0c2c, outArgs=0x47df0bb4)
@34,085,956us: [+4 T:0x47df1490] CV – VISA_getMaxMsgSize(0x30df88): returning 0x1000
@34,086,073us: [+5 T:0x47df1490] CV – VISA_allocMsg> Allocating message for messageId=0x0003d937
@34,086,201us: [+0 T:0x47df1490] CV – VISA_call(visa=0x30df88, msg=0x4537f880): messageId=0x0003d937, command=0x0
[DSP] @89,530,389tk: [+5 T:0x8bddb4a4] CN – NODE> 0x8fb15038(h264enc#1) call(algHandle=0x8fb150b0, msg=0x8fe06880); messageId=0x0003d937
[DSP] @89,530,475tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8aac2000, sizeInBytes=921600)
[DSP] @89,531,525tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,531,558tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8aba3000, sizeInBytes=460800)
[DSP] @89,532,108tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,532,141tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> Enter(addr=0x8de3e000, sizeInBytes=921600)
[DSP] @89,533,190tk: [+0 T:0x8bddb4a4] OM – Memory_cacheInv> return
[DSP] @89,533,226tk: [+0 T:0x8bddb4a4] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Enter (handle=0x8fb150b0, inBufs=0x8bde02bc, outBufs=0x8bde038c, inArgs=0x8fe06a04, outArgs=0x8fe06a10)
[DSP] @89,533,327tk: [+5 T:0x8bddb4a4] CV – VISA_enter(visa=0x8fb150b0): algHandle = 0x8fb150e8
[DSP] @89,533,379tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Enter(alg=0x8fb150e8)
[DSP] @89,533,439tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_activate> Exit
[DSP] @89,533,604tk: [+5 T:0x8bddb4a4] CV – VISA_exit(visa=0x8fb150b0): algHandle = 0x8fb150e8
[DSP] @89,533,656tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Enter(alg=0x8fb150e8)
[DSP] @89,533,710tk: [+0 T:0x8bddb4a4] ti.sdo.ce.alg.Algorithm – Algorithm_deactivate> Exit
[DSP] @89,533,753tk: [+0 T:0x8bddb4a4] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Exit (handle=0x8fb150b0, retVal=0x0)
[DSP] @89,533,810tk: [+5 T:0x8bddb4a4] CN – NODE> returned from call(algHandle=0x8fb150b0, msg=0x8fe06880); messageId=0x0003d937
@34,090,075us: [+0 T:0x47df1490] CE – Engine_fwriteTrace> returning count [1678]
@34,090,199us: [+0 T:0x47df1490] CV – VISA_call Completed: messageId=0x0003d937, command=0x0, return(status=0)
@34,090,329us: [+7 T:0x47df1490] OM – Memory_getVirtualAddress> Error: buffer (physAddr=0x8bc12a20, size=0x126000) not found in translationcache

Ensure that you have registered this buffer with Memory_registerContigBuf()
@34,090,453us: [+7 T:0x47df1490] OM – Memory_getVirtualAddress> Error: buffer (physAddr=0x8bd3406e, size=0x93000) not found in translationcache

Ensure that you have registered this buffer with Memory_registerContigBuf()
@34,090,567us: [+5 T:0x47df1490] CV – VISA_freeMsg(0x30df88, 0x4537f880): Freeing message with messageId=0x0003d937
@34,090,674us: [+0 T:0x47df1490] ti.sdo.ce.video1.VIDENC1 – VIDENC1_process> Exit (handle=0x30df88, retVal=0x0)
@34,090,773us: [+2 T:0x47df1490] ti.sdo.dmai – [Venc1] VIDENC1_process() ret 0 generated 0 bytes
Warning, writer received 0 byte encoded frame
@34,094,852us: [+0 T:0x4436c490] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_process> Enter (handle=0x304cb0, inBufs=0x4436bc28, outBufs=0x4436bb64, inArgs=0x4436bb50, outArgs=0x4436bb3c)
@34,095,046us: [+4 T:0x4436c490] CV – VISA_getMaxMsgSize(0x304cb0): returning 0x1000
@34,095,158us: [+5 T:0x4436c490] CV – VISA_allocMsg> Allocating message for messageId=0x000227fc
@34,095,286us: [+0 T:0x4436c490] CV – VISA_call(visa=0x304cb0, msg=0x4537d880): messageId=0x000227fc, command=0x0
[DSP] @89,556,254tk: [+5 T:0x8ba4317c] CN – NODE> 0x8fb14ac0(aacheenc#0) call(algHandle=0x8fb14b88, msg=0x8fe04880); messageId=0x000227fc

Sephrioth:

请问 TI 是否存在可定制性的 DM6467 Codec,收费的也可以。

或者第三方是否有针对 DM6467 Codec 低码率做的比较好的公司?

赞(0)
未经允许不得转载:TI中文支持网 » 编码码率低于1M时有编码后无数据的现象
分享到: 更多 (0)