|
| VideoPlayer (const int argc=0, const char *const *argv=nullptr) |
|
bool | loadMediaFromFile (const char *path) |
|
bool | loadMediaFromUrl (const char *url) |
|
bool | loadMedia (libvlc_media_t *media) |
|
void | play () |
|
void | pause () |
|
bool | isPlaying () |
|
void | seekPercentagePosition (const float position) |
|
float | getPercentagePosition () |
|
void | stop () |
|
|
bool | need_frame_update = false |
|
std::mutex | mutex |
|
◆ VideoPlayer()
oe::ext::video::VideoPlayer::VideoPlayer |
( |
const int |
argc = 0 , |
|
|
const char *const * |
argv = nullptr |
|
) |
| |
|
inline |
Create and initialize a VideoPlayer instance.
The arguments are sent to libvlc and can be understood as "how the VLC main() function would be called"
- See also
- VLC manual for for availble command line arguments
- Parameters
-
argc | the number of arguments |
argv | list of arguments |
◆ getPercentagePosition()
float oe::ext::video::VideoPlayer::getPercentagePosition |
( |
| ) |
|
|
inline |
- Returns
- Video position between 0.0f and 1.0f
◆ seekPercentagePosition()
void oe::ext::video::VideoPlayer::seekPercentagePosition |
( |
const float |
position | ) |
|
|
inline |
- Parameters
-
position | Video position between 0.0f and 1.0f |
The documentation for this struct was generated from the following file: