Skip to main content

HStillImageBackgroundConfiguration troubles

2 replies [Last post]
Joined: 2007-03-09

Hi all,
I'm having trouble displaying an MPEG i-frame in the background plane in the OCAP-RI (tags-RI_I1_1_4_REL_B-9601).
I'm pretty sure the screen configuration is correct (the same code works on other platforms), the background device is reserved, etc., but I get the following exception when I call displayImage() on the HStillImageBackgroundConfiguration:

java.lang.IllegalArgumentException: Image could not be displayed
at org.cablelabs.impl.havi.MpegBackgroundImage.displayImage()

The HBackgroundImage loads fine and returns the correct width and height, by the way.

Are there any specific requirements when encoding the i-frame? I am using TMPGEnc and have tried various resolutions and parameters.

Any hints are much appreciated.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-03-09

Update: Same observations with the latest release (tags-RI_I1_1_4_REL_B-9797).

JPGs do not load in the HBackgroundImage.load(), so I'm assuming only MPEG I-frames are supported. As mentioned, these load fine and report the correct dimensions, but displayImage() fails nonetheless.

Joined: 2008-07-03

If you are running on the RI PC Platform, attempts to render to the background plane will not work. Our PC platform currently does not have support for the background plane. Feel free to enter an IssueTracker issue regarding this feature and we can add it to our task backlog to be considered for future releases.