Video
Open Video
open video with a list of attributes
_video attributes
NAME |
VALUE |
DEFAULT |
name |
string |
video file name |
Examples
_video {name "sample video.mpg"}"
Close Video
close video
video_
Query Video
?video attributes
NAME |
VALUE |
DESCRIPTION |
capability |
AsynchronousStream, HasClock, SupportSeek |
get the list of video capability |
type |
STREAMTYPE_READ, STREAMTYPE_WRITE, STREAMTYPE_TRANSFORM |
get stream type |
current |
int |
get current frame |
start |
int |
get start frame |
end |
int |
get end frame |
length |
int |
get the total number of video frames |
width |
int |
get video width |
height |
int |
get video height |
[?video] will return all the attributes of video.
Examples
?video {capability current width height}
Set Video
set video attribute
!video attributes
do nothing in this version
Movie
Movie command is the alias of video command. It was used to specify another video object.
Open Movie
open movie with a list of attributes
_movie attributes
Close Movie
close movie
movie_
Query Movie
get movie attributes
?movie attributes
Set Movie
set movie attribute
!movie attributes
|