7 #define snprintf _snprintf 10 #define ffmpegFileBitrateString "FFMPEG_BITRATE" 11 #define ffmpegFileFPSString "FFMPEG_FPS" 12 #define ffmpegFileHeightString "FFMPEG_HEIGHT" 13 #define ffmpegFileWidthString "FFMPEG_WIDTH" 16 #define EXACT_INT_DBL_MIN -9007199254740992.0 18 #define EXACT_INT_DBL_MAX 9007199254740992.0 25 const char *NDArrayPort,
int NDArrayAddr,
26 int priority,
int stackSize);
36 #define FIRST_FFMPEG_FILE_PARAM ffmpegFileBitrate 40 #define LAST_FFMPEG_FILE_PARAM ffmpegFileWidth 45 enum AVCodecID codec_id;
51 struct SwsContext *ctx;
55 enum AVPixelFormat spix_fmt;
61 #define NUM_FFMPEG_FILE_PARAMS (int)(&LAST_FFMPEG_FILE_PARAM - &FIRST_FFMPEG_FILE_PARAM + 1) virtual asynStatus closeFile()
Closes the ffmpeg file.
Definition: ffmpegFile.cpp:297
int ffmpegFileFPS
Definition: ffmpegFile.h:37
virtual asynStatus writeFile(NDArray *pArray)
Writes single NDArray to the ffmpeg file.
Definition: ffmpegFile.cpp:225
list value
Definition: makeDbAndEdl.py:234
int ffmpegFileBitrate
Definition: ffmpegFile.h:35
int ffmpegFileWidth
Definition: ffmpegFile.h:39
char * portName
The name of this asyn port.
Definition: asynPortDriver.h:179
virtual asynStatus readFile(NDArray **pArray)
Reads single NDArray from a ffmpeg file; NOT CURRENTLY IMPLEMENTED.
Definition: ffmpegFile.cpp:288
Writes NDArrays to a ffmpeg file.
Definition: ffmpegFile.h:22
ffmpegFile(const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int priority, int stackSize)
Constructor for ffmpegFile; all parameters are simply passed to NDPluginFile::NDPluginFile.
Definition: ffmpegFile.cpp:387
virtual asynStatus openFile(const char *fileName, NDFileOpenMode_t openMode, NDArray *pArray)
Opens an FFMPEG file.
Definition: ffmpegFile.cpp:19
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
int NDFileOpenMode_t
Definition: NDPluginFile.h:17
int ffmpegFileHeight
Definition: ffmpegFile.h:38
Base class for NDArray file writing plugins; actual file writing plugins inherit from this class.
Definition: NDPluginFile.h:28
virtual asynStatus writeFloat64(asynUser *pasynUser, epicsFloat64 value)
Called when asyn clients call pasynFloat64->write().
Definition: ffmpegFile.cpp:351