-3 error in VPU MPEG4 bitstream error Decoding i.mx53 WinCE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

-3 error in VPU MPEG4 bitstream error Decoding i.mx53 WinCE

1,572 次查看
GuillermoHernan
Contributor III

The returned -3 in field "indexFrameDisplay" means no frame is decoded successfully:

1. No free buffer in VPU to oputput the decoded that

2. the input data is the partial of one compressed video frame

 

TIP: the vpu unit test DecDemo.exe is a good sample of how to use the API and verify if the bitstream is corrupted

标记 (2)
0 项奖励
回复
2 回复数

1,321 次查看
Tarek
Senior Contributor I

I'm  having the same problem for i.MX6 running Linux.

I've checked that the VPU output buffers are free so it must be input data is partial.

Could you please shed some light on how to check bit stream corruption for this platform?

Thanks

0 项奖励
回复

1,321 次查看
GuillermoHernan
Contributor III

Please refer to VPU unit test code.

There are cases they should ignore outinfo (including indexFrameDisplay)

- Incomplete decoding

  outinfo.decodingSuccess == 0

- Rollback triggered in rollback mode

  outinfo.decodingSuccess == 0x10

There are cases indexFrameDisplay == -3 is expected

- No display output due to display reorder

  Normally for first several frames, indexFrameDisplay == -3

- Skipped frame

  e.g. You set skip PB mode, and the frame is P frame.

- frame buffer exhausted

   confirmed it’s not your case.

0 项奖励
回复