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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,590件の閲覧回数
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,339件の閲覧回数
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,339件の閲覧回数
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 件の賞賛
返信