MPlayerWrapper.C File Reference

#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>
Include dependency graph for MPlayerWrapper.C:

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

Detailed Description

Wrapper class for playing videos in MPlayer

Definition in file MPlayerWrapper.C.


Variable Documentation

const ModelOptionCateg MOC_MPLAYER
Initial value:
 {
  MOC_SORTPRI_2, "MPlayer-Related Options" }

Definition at line 62 of file MPlayerWrapper.C.

const ModelOptionDef OPT_MPlayerAudioDriver
Initial value:
  { 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
Initial value:
  { 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
Initial value:
  { 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
Initial value:
  { 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
Initial value:
  { MODOPT_FLAG, "MPlayerSound", &MOC_MPLAYER, OPTEXP_CORE,
    "Play sound.", "sound", '\0', "", "true" }

Definition at line 70 of file MPlayerWrapper.C.

Generated on Sun May 8 08:42:47 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3