3700
- 收藏
- 点赞
- 分享
- 举报
自己参照SDK中sample_vdec写的解码程序没有输出
自己参照SDK中sample_vdec写的解码程序没有输出.
这是vdec的状态信息, VdecNum和 VdecLen都是0. 调用HI_MPI_VDEC_GetFrame返回"0xA005800E", HI_ERR_VDEC_BUF_EMPTY 缓冲区中无数据, 请问是哪里陪错了吗?
解码通道使用0通道, 1通道可以忽略.
[code]
[VDEC] Version: [Hi3559AV100_MPP_V2.0.1.0 B092 Release], Build Time[Jul 12 2018, 21:25:02]
----- MODULE PARAM ---------------------------------------------------------------------------------------------------
VdecMaxChnNum MiniBufMode enVdecVBSource ParallelMode
128 0 1 0
MaxPicWidth MaxPicHeight MaxSliceNum VdhMsgNum VdhBinSize VdhExtMemLevel
16888 16888 600 8 2048 1
----- CHN COMM ATTR & PARAMS -------------------------------------------------------------------------------------------
ID TYPE MaxW MaxH Width Height StrInputMode StrBufSize FrmBufSize FrmBufCnt TmvBufSize
0 H265 1920 1080 1920 1080 STREAM/TIMEOUT 2073600 N/A N/A N/A
1 H264 1920 1080 0 0 STREAM/NOBLOCK 2073600 N/A N/A N/A
ID DispNum DispMode SetUserPic EnUserPic Rotation PicPoolId TmvPoolId STATE
0 1 PLAYBACK N N 0 N/A N/A START
1 2 PLAYBACK N N 0 N/A N/A START
----- CHN VIDEO ATTR & PARAMS ------------------------------------------------------------------------------------------
ID VfmwID RefNum TemporalMvp ErrThr DecMode OutPutOrder Compress VideoFormat MaxVPS MaxSPS MaxPPS MaxSlice
0 0 5 Y 30 IP DEC Y TILE 2 2 2 16
1 1 5 N 30 IP DEC N TILE 0 2 2 16
----- CHN PICTURE ATTR & PARAMS ----------------------------------------------------------------------------------------
ID PixelFormat Alpha
0 N/A N/A
1 N/A N/A
----- CHN STATE --------------------------------------------------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr Fmterror PicBufSizeErr StrSizeOver Notify UniqueId State
0 0 0 0 0 0 0 0 0 11 12 1
1 0 0 0 0 0 0 0 0 0 6 1
ID fps TimerCnt BufFLen DataLen RdRegionLen SCDLeftLen WrRegionLen ptsBufF ptsBufU StreamEnd FrameEnd
0 1 40093 3112928 0 0 163608 0 199 0 0 0
1 0 40093 3112928 0 0 0 0 199 0 0 0
----- Detail Stream STATE ----------------------------------------------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen
0 2001 200100 0 0 4002 200100 4002 200100
1 0 0 0 0 0 0 0 0
ID FmLstGet FmRlsFail
0 30 0
1 0 0
----- Detail FrameStore STATE ------------------------------------------------------------------------------------------
ID FmNewPic GetFromFm Discard NoDisp UsrSnd KerSnd KerRls MeetEnd FrmInVdec DynamicRange ColorGamut
0 3 3 0 0 0 3 0 6 0 SDR8 BT709
1 0 0 0 0 0 0 0 0 0 SDR8 BT601
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt RotateVbCnt
0 37 0 0 0 0 3 1 0 3 7 0
1 40 0 0 0 0 0 0 0 0 8 0
ID GetPicVbFail GetTmvVbFail GetRotateVbFail PicSize TmvSize RotateSize CurPicPts
0 61227 0 0 3146496 130560 0 0
1 0 0 0 3146496 522240 0 0
----- Detail UserData STATE --------------------------------------------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
0 0 0 0 0 0 0 0 0 4064 0
1 0 0 0 0 0 0 0 0 4064 0
[/code]
下面这个是vb的信息:
[code]
[VB] Version: [Hi3559AV100_MPP_V2.0.1.0 B092 Release], Build Time[Jul 12 2018, 21:24:10]
-----VB PUB CONFIG--------------------------------------------------------------
MaxPoolCnt
768
-----VB SUPPLEMENT ATTR---------------------------------------------------------
Config Size VbCnt
0 0 18
-----COMMON POOL CONFIG---------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-----MODULE COMMON POOL CONFIG of VB_UID <4> ---------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 3146496 3146496 130560 522240 0 0 0 0 0 0 0 0 0 0 0 0
Count 5 5 6 6 0 0 0 0 0 0 0 0 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x67a74000 0x0 1 -1 256 1 1 1
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
2 0x68978000 0x0 1 4 3146496 5 0 0
BLK VI VO VGS VENC VDEC H265E H264E JPEGE H264D JPEGD VPSS DIS USER PCIV AI AENC RC VFMW GDC AVS RECT MATCH
1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0
Sum 0 0 0 0 3 0 0 0 0 0 3 0 2 0 0 0 0 1 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
3 0x6987a000 0x0 1 4 130560 6 5 4
BLK VI VO VGS VENC VDEC H265E H264E JPEGE H264D JPEGD VPSS DIS USER PCIV AI AENC RC VFMW GDC AVS RECT MATCH
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Sum 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
4 0x6993b000 0x0 1 4 522240 6 6 6
[/code]
这是vdec的状态信息, VdecNum和 VdecLen都是0. 调用HI_MPI_VDEC_GetFrame返回"0xA005800E", HI_ERR_VDEC_BUF_EMPTY 缓冲区中无数据, 请问是哪里陪错了吗?
解码通道使用0通道, 1通道可以忽略.
[code]
[VDEC] Version: [Hi3559AV100_MPP_V2.0.1.0 B092 Release], Build Time[Jul 12 2018, 21:25:02]
----- MODULE PARAM ---------------------------------------------------------------------------------------------------
VdecMaxChnNum MiniBufMode enVdecVBSource ParallelMode
128 0 1 0
MaxPicWidth MaxPicHeight MaxSliceNum VdhMsgNum VdhBinSize VdhExtMemLevel
16888 16888 600 8 2048 1
----- CHN COMM ATTR & PARAMS -------------------------------------------------------------------------------------------
ID TYPE MaxW MaxH Width Height StrInputMode StrBufSize FrmBufSize FrmBufCnt TmvBufSize
0 H265 1920 1080 1920 1080 STREAM/TIMEOUT 2073600 N/A N/A N/A
1 H264 1920 1080 0 0 STREAM/NOBLOCK 2073600 N/A N/A N/A
ID DispNum DispMode SetUserPic EnUserPic Rotation PicPoolId TmvPoolId STATE
0 1 PLAYBACK N N 0 N/A N/A START
1 2 PLAYBACK N N 0 N/A N/A START
----- CHN VIDEO ATTR & PARAMS ------------------------------------------------------------------------------------------
ID VfmwID RefNum TemporalMvp ErrThr DecMode OutPutOrder Compress VideoFormat MaxVPS MaxSPS MaxPPS MaxSlice
0 0 5 Y 30 IP DEC Y TILE 2 2 2 16
1 1 5 N 30 IP DEC N TILE 0 2 2 16
----- CHN PICTURE ATTR & PARAMS ----------------------------------------------------------------------------------------
ID PixelFormat Alpha
0 N/A N/A
1 N/A N/A
----- CHN STATE --------------------------------------------------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr Fmterror PicBufSizeErr StrSizeOver Notify UniqueId State
0 0 0 0 0 0 0 0 0 11 12 1
1 0 0 0 0 0 0 0 0 0 6 1
ID fps TimerCnt BufFLen DataLen RdRegionLen SCDLeftLen WrRegionLen ptsBufF ptsBufU StreamEnd FrameEnd
0 1 40093 3112928 0 0 163608 0 199 0 0 0
1 0 40093 3112928 0 0 0 0 199 0 0 0
----- Detail Stream STATE ----------------------------------------------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen
0 2001 200100 0 0 4002 200100 4002 200100
1 0 0 0 0 0 0 0 0
ID FmLstGet FmRlsFail
0 30 0
1 0 0
----- Detail FrameStore STATE ------------------------------------------------------------------------------------------
ID FmNewPic GetFromFm Discard NoDisp UsrSnd KerSnd KerRls MeetEnd FrmInVdec DynamicRange ColorGamut
0 3 3 0 0 0 3 0 6 0 SDR8 BT709
1 0 0 0 0 0 0 0 0 0 SDR8 BT601
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt RotateVbCnt
0 37 0 0 0 0 3 1 0 3 7 0
1 40 0 0 0 0 0 0 0 0 8 0
ID GetPicVbFail GetTmvVbFail GetRotateVbFail PicSize TmvSize RotateSize CurPicPts
0 61227 0 0 3146496 130560 0 0
1 0 0 0 3146496 522240 0 0
----- Detail UserData STATE --------------------------------------------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
0 0 0 0 0 0 0 0 0 4064 0
1 0 0 0 0 0 0 0 0 4064 0
[/code]
下面这个是vb的信息:
[code]
[VB] Version: [Hi3559AV100_MPP_V2.0.1.0 B092 Release], Build Time[Jul 12 2018, 21:24:10]
-----VB PUB CONFIG--------------------------------------------------------------
MaxPoolCnt
768
-----VB SUPPLEMENT ATTR---------------------------------------------------------
Config Size VbCnt
0 0 18
-----COMMON POOL CONFIG---------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-----MODULE COMMON POOL CONFIG of VB_UID <4> ---------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 3146496 3146496 130560 522240 0 0 0 0 0 0 0 0 0 0 0 0
Count 5 5 6 6 0 0 0 0 0 0 0 0 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x67a74000 0x0 1 -1 256 1 1 1
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
2 0x68978000 0x0 1 4 3146496 5 0 0
BLK VI VO VGS VENC VDEC H265E H264E JPEGE H264D JPEGD VPSS DIS USER PCIV AI AENC RC VFMW GDC AVS RECT MATCH
1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0
Sum 0 0 0 0 3 0 0 0 0 0 3 0 2 0 0 0 0 1 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
3 0x6987a000 0x0 1 4 130560 6 5 4
BLK VI VO VGS VENC VDEC H265E H264E JPEGE H264D JPEGD VPSS DIS USER PCIV AI AENC RC VFMW GDC AVS RECT MATCH
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Sum 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
--------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
4 0x6993b000 0x0 1 4 522240 6 6 6
[/code]
我来回答
回答0个
时间排序
认可量排序
暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2013-01-03 15:02:47
-
2024-10-22 19:59:00
-
2019-04-03 10:40:55
-
2016-10-25 10:44:09
-
2014-10-16 20:13:01
-
2015-11-10 15:13:51
-
2019-04-03 10:47:31
-
2015-05-25 21:07:40
-
2015-05-25 21:11:56
-
2024-08-09 11:48:08
-
2019-08-29 11:34:22
-
2016-04-19 21:49:52
-
2016-04-27 10:59:59
-
2020-04-15 12:07:16
-
2019-04-03 17:37:59
-
2022-09-27 19:04:17
-
2017-05-04 17:31:57
-
2014-07-13 14:44:21
-
2023-06-01 15:46:08
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认