Loading a movie
Loading a movie is descibed here.
Playback
For starting the playback the feature play is used.
The playback can be paused with pause and then resumed with resume
To stop the playback, the feature stop is used.
Seeking
There are different seeking features:
- go_to_position (abs: INTEGER)
- This feature moves to an absolute position.
- rewind
- This feature moves to the beginning of the movie.
- seek (interval: INTEGER)
- This feature seeks a given interval. If interval is positiv it seeks forwards and backwards otherwise.
Status
There are several features which give a status report
- has_audio
- True if the movie has audio data, False otherwise.
- has_video
- True if the movie has video data, False otherwise.
- is_loaded
- Shoud always be True except if you manualy unloaded the movie
- is_playing
- True if the movie is in playback mode, False otherwise.
- is_paused
- True if the movies is paused, False otherwise.
- position
- The current position in the movie (in ms)
- video_length
- The length of the movie in ms