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



Answer this question

Video Size

  • StephK

    Yes it does: Player.mainVideo.changeLayout( x,y,scale,cropx,cropy,croph,cropw, time) and its subVideo friend.

  • Tilfried Weissenberger

    The best reference will always be the HD DVD specification.

  • progames25

    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



  • Agent00

    :(

    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

     


  • JoseVillalobos

    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


  • Tdar

    Polina wrote:
    Are they published

    http://www.dvdfllc.co.jp/hd_dvd/hd_what.html#howtos

  • DavidW57

    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


  • Video Size