AnsweredAssumed Answered

QNX OS: vpu_DecGetInitialInfo failing  error

Question asked by Angelo pennacchioli on Feb 27, 2016
Latest reply on Mar 8, 2016 by Nicolas Pinault


I am trying to add RealMedia video format support to an imx6q board running the QNX 6.6.0 OS.

I am running with:

- QNX port of imx-vpu-lib-3.0.35-4.1.0

- Updated vpu_fw_imx6q.bin


When I stream a realmedia stream: (artbeats_hd.rm)


ID                                       : 0

Format                                   : RealVideo 4

Codec ID                                 : RV40

Codec ID/Info                            : Based on AVC (H.264), Real Player 9

Duration                                 : 1mn 34s

Bit rate                                 : 2 000 Kbps

Width                                    : 400 pixels

Height                                   : 240 pixels

Display aspect ratio                     : 5:3

Frame rate                               : 29.970 (30000/1001) fps

Bits/(Pixel*Frame)                       : 0.695

Stream size                              : 22.6 MiB


I get a RETCODE_FAILURE  return value in the vpu_DecGetInitialInfo() function after the first packet of the stream (370 bytes) has been successfully pushed through a vpu_DecUpdateBitstreamBuffer() call.


gdb shows  the failure point in the vpu_DecGetInitialInfo() function at line:

==> val = VpuReadReg(RET_DEC_SEQ_SUCCESS);


val get set to 16,  leading to a RETCODE_FAILURE  return value.

I tried other realmedia test streams and they all fail in the same way, leading me to believe that I may not be initializing the codec correctly  when setting the RV_DEC  codecMode.


Any help,  pointer would be greatly appreciated.