MpegOutputStream.C File Reference

#include "Media/MpegOutputStream.H"
#include "Component/ModelOptionDef.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Media/FfmpegEncoder.H"
#include "Raster/GenericFrame.H"
#include "Transport/TransportOpts.H"
#include "Util/Assert.H"
#include "Util/log.H"
#include "rutz/shared_ptr.h"
#include "rutz/trace.h"
#include <map>
#include <string>
#include "Media/MediaOpts.H"
#include "Media/FrameRange.H"
#include "Component/ModelManager.H"
Include dependency graph for MpegOutputStream.C:

Go to the source code of this file.

Variables

const ModelOptionDef OPT_OutputMPEGStreamFrameRate
const ModelOptionDef OPT_OutputMPEGStreamBitRate
const ModelOptionDef OPT_OutputMPEGStreamBufSize
static const ModelOptionDef OPT_OutputMPEGStreamCodec
static const ModelOptionDef OPT_OutputMPEGUseFormatContext

Detailed Description

Write frames to movie files

Definition in file MpegOutputStream.C.


Variable Documentation

const ModelOptionDef OPT_OutputMPEGStreamBitRate
Initial value:
  { MODOPT_ARG(int), "OutputMPEGStreamBitRate", &MOC_OUTPUT, OPTEXP_CORE,
    "The bit rate for output mpeg streams",
    
    
    "output-mpeg-bitrate", '\0', "<bits-per-?>", "750000" }

Definition at line 68 of file MpegOutputStream.C.

const ModelOptionDef OPT_OutputMPEGStreamBufSize
Initial value:
  { MODOPT_ARG(ByteCount), "OutputMPEGStreamBufSize", &MOC_OUTPUT, OPTEXP_CORE,
    "The size, in bytes, of the per-frame output buffer for output "
    "mpeg streams (you can try increasing the buffer size if you "
    "are seeing warnings like 'encoded frame too large')",
    "output-mpeg-bufsize", '\0', "<bytes>", "2MiB" }

Definition at line 76 of file MpegOutputStream.C.

const ModelOptionDef OPT_OutputMPEGStreamCodec [static]
Initial value:
  { MODOPT_ARG_STRING, "OutputMPEGStreamCodec", &MOC_OUTPUT, OPTEXP_CORE,
    "Type of video output codec to use (use value 'List' to see list of "
    "available codecs on your system)",
    "output-codec", '\0', "<List|name>", "mpeg1video" }

Definition at line 84 of file MpegOutputStream.C.

const ModelOptionDef OPT_OutputMPEGStreamFrameRate
Initial value:
  { MODOPT_ARG(int), "OutputMPEGStreamFrameRate", &MOC_OUTPUT, OPTEXP_CORE,
    "The frame rate, in frames-per-second, for output mpeg streams",
    "output-mpeg-framerate", '\0', "<frames-per-second>", "25" }

Definition at line 62 of file MpegOutputStream.C.

const ModelOptionDef OPT_OutputMPEGUseFormatContext [static]
Initial value:
  { MODOPT_ARG(bool), "OutputMPEGUseFormatContext", &MOC_OUTPUT, OPTEXP_CORE,
                "Whether to use the ffmpeg FormatContext when outputing stream data "
                "to the file. If this option is false, then the raw data from the codec "
                "is written directly to the file. Otherwise, the data goes through the "
                "ffmpeg calls to write the data. This is used when one needs header and "
                "frame information especially for codecs like flv)",
    "output-useFormatContext", '\0', "<true|false>", "false" }

Definition at line 90 of file MpegOutputStream.C.

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