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

关于DM816x的解码器

大家好。我在dm816x平台上,把从ip camera上接受的h.264视频流用mcfw框架显示。在最开始的几帧会出现类似如下错误,但是错误代码不固定,然后才正常显示出来,请问是什么原因?还有,我把这些视频帧保存在文件中,然后再从文件读取出来进行解码显示,为什么也会出现下面的错误,而且不是前几帧出现,是每帧的出现,视频也显示不出来?似乎是跟decoder里面的帧缓存有关系。切换一个视频源的时候,能不能把该解码通道的帧缓存清空呢?

[m3video] 14494791:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 432918
[m3video] 14496150:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 432958
[m3video] 14497483:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 432998
[m3video] 14498807:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433038
[m3video] 14500150:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433078
[m3video] 14501495:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433118
[m3video] 14502807:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433158
[m3video] 14504151:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433198
[m3video] 14505496:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433238
[m3video] 14506822:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433278
[m3video] 14508150:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433318
[m3video] 14509495:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433358
[m3video] 14510823:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433398
[m3video] 14512151:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 8 Error: 0x401
[m3video] Sequence called number 433438

hui qiu:

感谢Haijun Guo.那如何flush decoder呢?

hui qiu:

只是前面的几帧会出现错误,后面就不会了,而且用vlc是可以播放的,码流应该没啥问题。而且如果一开始播的是一个视频源传过来的码流,后面换成另外一个码流,也会出现错误,而且视频没有显示。这两个码流单独显示都没问题的

Haijun Guo:

如果你在使用DVRRDK,可以参考Declink_h264DecodeFrameBatch。

赞(0)
未经允许不得转载:TI中文支持网 » 关于DM816x的解码器
分享到: 更多 (0)