QNX OS: vpu_DecGetInitialInfo failing error

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

QNX OS: vpu_DecGetInitialInfo failing error

1,014 Views
angelo
Contributor II

Hello,

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)

Video

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.

Thanks,

  Angelo

Labels (1)
0 Kudos
Reply
2 Replies

630 Views
NicolasP
Contributor IV

Hi Angelo,

From what I understand, imx-vpu-lib source files have to be used with a specific version of vpu_fw_imx6q.bin. If you change one, the other must be changed.

Regards,

Nicolas

0 Kudos
Reply

630 Views
igorpadykov
NXP Employee
NXP Employee

Hi Angelo

in general RealMedia codec is provided as limited access package as

requires licensing, so it may be recommended to apply to qnx for real libraries.

Note that nxp does not support qnx.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply