#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"
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 |
Write frames to movie files
Definition in file MpegOutputStream.C.
const ModelOptionDef OPT_OutputMPEGStreamBitRate |
{ 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 |
{ 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] |
{ 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 |
{ 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] |
{ 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.