Skip to main content

BDVideoConfigTemplate.KEEP_RESOLUTION

2 replies [Last post]
vinaykagarwal
Offline
Joined: 2006-01-14
Points: 0

HD Cookbook says (page 17-2) that BDVideoConfigTemplate.KEEP_RESOLUTION can be used to hold the graphics resolution even if video resolution changes.

But in platform java docs, the description is different -
The KEEP_RESOLUTION preference indicates that the video device resolution is NOT to be changed, but should be kept the same when the video resolution changes.

In other words, if you have 1920x1080 resolution set, and you play SD video, the SD video will play in a small portion of the screen (on top left on TMT and Panasonic BD35).

Is there a setting that can keep 1920x1080 graphics over SD video (on full screen)?

Or, can graphics resolution be set to 1920x1080 while the player is playing SD video?

I have tried setting the graphics and video resolutions with BDVideoConfigTemplate.ZERO_VIDEO_IMPACT and BDVideoConfigTemplate.ZERO_GRAPHICS_IMPACT settings but playing SD video always rescales graphics on TMT and on Panasonic BD35.

Trying to set graphics resolution to 1920x1080 while SD video is playing, results in a security exception. The graphics resolution can be set to 1920x1080 only after the player has stopped playing.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
szmarine
Offline
Joined: 2008-06-13
Points: 0

I think there is no way to have a 1920*1080 graphic run over full screen SD video through HAVi device configurations. One thing you might want to try to achieve that could be JMF controls - AWTVideoSizeControl or BackgourndVideoPresentationControl.

kernrj
Offline
Joined: 2008-06-02
Points: 0

All devices have the same resolution (except in the case of a QHD graphics plane over HD video), so the HD Cookbook and the Javadoc are both correct - neither device changes resolution with KEEP_RESOLUTION.

You can scale the SD video to a full screen HD resolution if the system property bluray.video.fullscreenSD = "YES".