
#include "Psycho/MPlayerWrapper.H"#include "Component/ComponentOpts.H"#include "Component/ModelManager.H"#include "Util/Pause.H"#include "Util/csignals.H"#include "Util/Types.H"#include "GUI/GUIOpts.H"#include "Util/StringConversions.H"#include "Util/StringUtil.H"#include "rutz/pipe.h"#include "nub/ref.h"#include "Component/ModelOptionDef.H"#include <stdlib.h>#include "Psycho/PsychoDisplay.H"#include <iostream>#include <sstream>#include <string>#include <stdio.h>#include <vector>#include <unistd.h>
Go to the source code of this file.
Variables | |
| const ModelOptionCateg | MOC_MPLAYER |
| const ModelOptionDef | OPT_MPlayerPath |
| const ModelOptionDef | OPT_MPlayerSound |
| const ModelOptionDef | OPT_MPlayerAudioDriver |
| const ModelOptionDef | OPT_MPlayerCacheSize |
| const ModelOptionDef | OPT_MPlayerCachePercent |
Wrapper class for playing videos in MPlayer
Definition in file MPlayerWrapper.C.
| const ModelOptionCateg MOC_MPLAYER |
{
MOC_SORTPRI_2, "MPlayer-Related Options" }
Definition at line 62 of file MPlayerWrapper.C.
| const ModelOptionDef OPT_MPlayerAudioDriver |
{ MODOPT_ARG_STRING, "MPlayerAudioDriver", &MOC_MPLAYER, OPTEXP_CORE,
"Audio driver to send to mplayer. If sound does not work try alsa/oss. Other valid options are esd/pulse/jack/nas/sdl/mpegpes/v4l2/pcm. Setting to null is equivalent to --nosound.", "ao", '\0', "<std::string>", "alsa" }
Definition at line 74 of file MPlayerWrapper.C.
| const ModelOptionDef OPT_MPlayerCachePercent |
{ MODOPT_ARG(double), "MPlayerCachePercent", &MOC_MPLAYER, OPTEXP_CORE,
"Playback begins when the cache is filled to this percent of the total.",
"cachepercent", '\0', "<0-99>", "50" }
Definition at line 83 of file MPlayerWrapper.C.
| const ModelOptionDef OPT_MPlayerCacheSize |
{ MODOPT_ARG(uint), "MPlayerCacheSize", &MOC_MPLAYER, OPTEXP_CORE,
"Amount of memory for precaching the video, in kB.",
"cachesize", '\0', "<uint>", "16384"}
Definition at line 78 of file MPlayerWrapper.C.
| const ModelOptionDef OPT_MPlayerPath |
{ MODOPT_ARG_STRING, "MPlayerPath", &MOC_MPLAYER, OPTEXP_CORE,
"Path for the mplayer application.",
"mplayer-path", '\0', "<std::string>", "/usr/bin/mplayer" }
Definition at line 65 of file MPlayerWrapper.C.
| const ModelOptionDef OPT_MPlayerSound |
{ MODOPT_FLAG, "MPlayerSound", &MOC_MPLAYER, OPTEXP_CORE,
"Play sound.", "sound", '\0', "", "true" }
Definition at line 70 of file MPlayerWrapper.C.
1.6.3