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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

919 Views
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

Tags (2)
0 Kudos
2 Replies

668 Views
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 Kudos

668 Views
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 Kudos