Lua Player Plus Vita
Documentation of lpp-vita
Video Class Reference

Public Member Functions

void init (void)
 Init video sub-system. More...
 
void term (void)
 Terminate video sub-system. More...
 
void open (string filename, bool loop)
 Open an MP4 video file. More...
 
void close (void)
 Close the current video playback. More...
 
int getOutput (void)
 Get the current video frame as image. More...
 
void pause (void)
 Pause current video playback. More...
 
void resume (void)
 Resume current video playback. More...
 
bool isPlaying (void)
 Get current playback state. More...
 
void setVolume (int volume)
 Set internal volume for current video playback. More...
 
int getVolume (void)
 Get internal volume for current video playback. More...
 
number getTime (void)
 Get current time for current video playback. More...
 
void jumpToTime (number time)
 Jump to a specific position for current video playback. More...
 
void setPlayMode (PlayMode mode)
 Set play mode for current video playback. More...
 
void openSubs (string fname)
 Open a subtitles file for current video playback. More...
 
void closeSubs ()
 Close currently opened subtitles file. More...
 
string getSubs (void)
 Get current available subtitles for the video playback. More...