Play Video Software


This software is called PlayVideo.exe and it is an exe file that you can run from MPS by the way of the SHELL Command.

The goal of the software is to display an image or a video on your screen without any window, the size of the image may be scaled by dragging the borders. In addition to images and videos, the software also performs advanced graphic effects like crossfade or Sprite animation.

A Sprite is a succession of cells of the same picture with slight differences to give the idea of a movement on the screen. This technique allows advanced animation, like for example a Cartoon, or the animation of a logo on the screen.

If you don't like the small border (needed to resize images), you can specify a location and the image/video will be displayed without any border.

You can play multiple instances of this software, even multiple instances of the same video at different locations.

Should you have any problems running this software, Enter the Windows Setup and install all of the multimedia applications from your Windows 95/98 CDRom. You will need to see the Active Movie Control in your Windows 95/98 Accessories/Entertainment program group.

You can find a new page to fill these parameters in ProScenium. To access this new page you must go in the recording panel, and click on Show an Image or Video in a specific part of the screen.

The syntax is the following:

(shell) playvideo ( FILENAME param1 ....param20 )

for ex. SHELL Playvideo C:\martinps\Mac600.mov 200 200 300 300 -1 0 -20 20 8



IMAGE A
  • param0: IMAGE A: name of the video/image file of the animation to open without spaces inside. PLEASE DO NOT USE SPACES IN THE FILENAME.
  • param1 : top (distance, in pixels, from the top of the screen.)
  • param2 : left (distance, in pixels, from the left side of the screen. To go on the second monitor, assuming that your monitor is 800x600, just put 801)
  • param3 : width (width position of the video/image A window in pixels)
  • param4 : height (height position of the video/image A window in pixels)
  • param5 : timeout (number of seconds before automatically closing the image)
  • param6 : killprevious (0 not kill the previous instance, 1 kill the previous instance :if you want to make a slide show you can need to replace images, otherwise if you are making a composition of images you will add several images on the screen)
  • param7 : vertical movement number of pixel that your image has to move to the top/bottom : put 10 to go to the bottom of the screen at 10 pixel/second, : put -10 to go to the top of the screen at 10 pixel/second)
  • param8 : horizontal movement number of pixel that your image has to move to the right/left : put 10 to go to the right of the screen at 10 pixel/second, : put -10 to go to the left of the screen at 10 pixel/second). In this way images can also move from one monitor to the other.
  • param9 : movement timeout (number of seconds to elapse before automatically stopping the movement of the image)
  • param10 : movement wait time (number of seconds to wait before automatically starting the movement of the image)

    IMAGE B:
  • param11 : Type of movement of image B(0 : Video or image form, 1: sprite random in all sides for moth or Birds, 2 sprite linear movement, 3 Crossfade between image A and image B, 0 : Video or image with stretch (auto adjust the image to window size)
  • param12: IMAGE B: name of the BMP file of the animation to open without spaces. This file must be a Bitmap (BMP) with 8 bit per pixel for mode 1 and 2 inside. PLEASE DO NOT USE SPACES IN THE FILENAME: for mode 1 and 2, you can make a bitmap for example of 100 pixel on 100 pixel. If you need to make 4 positions for your sprite you can make a width of 100 and an height of 400 pixels.
  • param13 : top (top position of the image B in pixels)
  • param14 : left (left position of the image B in pixels(to go on the second monitor, assuming that your monitor is 800x600, just put 801)
  • param15 : vertical movement: number of pixel that your image B has to move to the top/bottom : put 10 to go to the bottom of the screen at 10 pixel/second, : put -10 to go to the top of the screen at 10 pixel/second for mode 1, 3 this parameter set the speed of animation/crossfade (0 to 1000)
  • param16 : horizontal movement: number of pixel that your image B has to move to the right/left : put 10 to go to the right of the screen at 10 pixel/second, : put -10 to go to the left of the screen at 10 pixel/second). In this way images can also move from one monitor to the other.
  • param17 : image B movement timeout (number of seconds to elapse before automatically stopping the movement of the image)
  • param18 : image B movement wait time (number of seconds to wait before automatically starting the movement of the image)
  • param19 : Number of cells that compose the image B number of cell to divide the foreground image for animation.(mode 1,2).
  • param20 : Number sprites of image B number of instances of independents image B (mode 1,2).



    If you use this program from ProScenium you have to add the SHELL command.




    For example to play an AVI video at fullscreen in 800 x 600 you can write:
    SHELL playvideo c:\martinps\video.avi 0 0 800 600

    For example to play an AVI video at the last opened position you can write
    SHELL playvideo c:\martinps\video.avi

    For example to play an jpeg file in a square at the half of your screen of 300 x 300 pixels you can write:
    SHELL playvideo c:\martinps\defaultpalette.jpg 300 300 300 300

    If you want that this file disappears after 5 seconds you'll write
    SHELL playvideo c:\martinps\defaultpalette.jpg 300 300 300 300 5

    If you want that the previously opened file disappears when you send a new one you'll write :
    SHELL playvideo c:\martinps\defaultpalette.jpg 300 300 300 300 -1 1

    For example to play an jpeg file in the second monitor of a window 98 system you can write:
    SHELL playvideo c:\martinps\defaultpalette.jpg 0 801 800 600

    For example to play an jpeg file in both monitor of a window 98 system you can write:
    SHELL playvideo c:\martinps\defaultpalette.jpg 0 0 1600 600

    If you want that this file opens at the last stored position, and you want that file disappears after 5 seconds you'll write :
    SHELL playvideo c:\martinps\defaultpalette.jpg -1 -1 -1 -1 5

    If you want that this video moves diagonally to the top/right of the second screen, and that the movement stops after 8 seconds you'll write :
    SHELL Playvideo C:\martinps\Mac600.mov 200 1000 400 500 -1 0 -20 20 8

    To close an opened image or video you can write
    SHELL playvideo


    Contents