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
24 ffmpegFile(
const char *portName,
int queueSize,
int blockingCallbacks,
25 const char *NDArrayPort,
int NDArrayAddr,
26 int priority,
int stackSize);
32 virtual asynStatus
writeFloat64(asynUser *pasynUser, epicsFloat64 value);
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)
Pylon::EPixelType fmt
Definition ADPylon.cpp:58
int NDFileOpenMode_t
Definition NDPluginFile.h:17
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition NDArray.h:99
Base class for NDArray file writing plugins; actual file writing plugins inherit from this class.
Definition NDPluginFile.h:28
Writes NDArrays to a ffmpeg file.
Definition ffmpegFile.h:22
int ffmpegFileFPS
Definition ffmpegFile.h:37
int ffmpegFileHeight
Definition ffmpegFile.h:38
virtual asynStatus readFile(NDArray **pArray)
Reads single NDArray from a ffmpeg file; NOT CURRENTLY IMPLEMENTED.
Definition ffmpegFile.cpp:288
virtual asynStatus writeFloat64(asynUser *pasynUser, epicsFloat64 value)
Called when asyn clients call pasynFloat64->write().
Definition ffmpegFile.cpp:351
int ffmpegFileBitrate
Definition ffmpegFile.h:35
virtual asynStatus closeFile()
Closes the ffmpeg file.
Definition ffmpegFile.cpp:297
virtual asynStatus openFile(const char *fileName, NDFileOpenMode_t openMode, NDArray *pArray)
Opens an FFMPEG file.
Definition ffmpegFile.cpp:19
int ffmpegFileWidth
Definition ffmpegFile.h:39
virtual asynStatus writeFile(NDArray *pArray)
Writes single NDArray to the ffmpeg file.
Definition ffmpegFile.cpp:225