Video Size

As I see current version of the ihd doesn't support vido resizing.

I.E. I can not place menu items at the left side of the screen and video at the right side of the screen.

Is it planned to be implemented in future?

[235 byte] By [Polina] at [2008-2-10]
# 1
Yes it does: Player.mainVideo.changeLayout( x,y,scale,cropx,cropy,croph,cropw, time) and its subVideo friend.
AndyPennellMSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2

:(

It doesn't work. Player.mainVideo, Player.subVideo, Player.Video are null or not an objects.

Also

1. Where can I see specification for the method "setLayout"?

2. How can I see current values of the layout?

Polina at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3

My bad: here is some real code I found which scales subvideo to the lower right of the screen, over 1 second (a kind of un-zoom):

// get aperture size
var maxx = Player.video.main.cropWidth;
var maxy = Player.video.main.cropHeight;

Player.video.sub.alpha = 255;

var scale = Player.createVideoScale(1,2);
var duration = "00:00:01:00";
Player.video.sub.changeLayout( maxx/2, maxy/2, scale, 0, 0, maxx, maxy, duration );

To get the current values, use

Player.video.main/sub.scale/x/y/cropX/cropY/cropWidth/cropHeight

AndyPennellMSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 4

It works. Thank you.

The problem was that in the diagram that is provided with simulator the properties Video, Sub and Main are in pascal case. But the script is case sencitive.

Where can I see object model specifications, that are up-to-date?

Polina at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 5
The best reference will always be the HD DVD specification.
PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 6

Are they published?

If you mean

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/introduction_to_hd_dvd_authoring__codz.asp

it doesn't contain information about the Object Model

Polina at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 7
Polina wrote:
Are they published?

http://www.dvdfllc.co.jp/hd_dvd/hd_what.html#howtos
GunnarAdler at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...