PmgVideo - Deatiled object description
See: the
PmgVideo object.
This object is the
Window Pmg object.
For simple animations
it is better to use the PmgAnimImage object that is used for displaying animated GIFs. Using this object does ot require installation of any video decoder, is more general and can easily be used in local panels and in
Web panels.
The object can run in two modes:
-
Playing type=Multimedia: For playing all video files. Limitations:
- Transparency is not supported.
-
Playing type=Simple: For playing simple
*.avi files. In this mode the tranparency of background color of the
*.avi file is supported if the file was created in this way. It is possible to set the "
Background color" configurator to such AVI file. Limitations:
- *.avi files with more than one video-track are not shown.
- The *.avi file can have two tracks in total at the most.
- If the file contains audio-track, then it is not played.
- The file must be either not compressed or compressed by the RLE8 compression.
- The object is displayed only in the size in which it was constructed.
If this object cannot play the
*.avi file, then the title
NOT POSSIBLE TO PRESENT appears in attributes in the configuration window of this object.
This object usually cannot be used for stream video playback, for example from industrial camera. For this type of playback see
How to use cameras in the PROMOTIC system.
The
Pmg object does not contain the data itself from the file, it is only the reference to the file. The designer must ensure so that the corresponding file is always accessible in the application - by correctly entering the filename and setting the path to the file. It is recommended to use the files located on
#pmres: or
#appres: paths only