34 #ifndef PTLIB_PFFVDEV_H 35 #define PTLIB_PFFVDEV_H 61 PVideoInputDevice_FFMPEG();
65 ~PVideoInputDevice_FFMPEG();
100 {
return GetInputDeviceNames(); }
122 PINDEX * bytesReturned = NULL
131 PINDEX * bytesReturned = NULL
141 VideoFormat videoFormat
181 unsigned & minHeight,
196 void ClearMapping() { return ; }
200 unsigned m_ffmpegFrameWidth;
201 unsigned m_ffmpegFrameHeight;
202 unsigned m_ffmpegFrameRate;
203 unsigned m_ffmpegFrameSize;
205 PINDEX m_videoFrameSize;
214 #endif // PTLIB_PVFILEDEV_H
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:1049
Definition: pipechan.h:73
virtual PBoolean SetFrameRate(unsigned rate)
Set the video frame rate to be used on the device.
virtual PINDEX GetMaxFrameBytes()=0
Get the maximum frame size in bytes.
This is an array collection class of PString objects.
Definition: pstring.h:2024
virtual PBoolean Stop()=0
Stop the video device I/O capture.
BOOL PBoolean
Definition: object.h:102
virtual PBoolean IsOpen()=0
Determine if the device is currently open.
virtual int GetNumChannels()
Get the number of video channels available on the device.
virtual PBoolean Start()=0
Start the video device I/O capture.
The character string class.
Definition: pstring.h:108
virtual PStringArray GetDeviceNames() const =0
Get a list of all of the drivers available.
Class for implementing an "adaptive" delay.
Definition: delaychan.h:52
virtual PBoolean SetFrameSize(unsigned width, unsigned height)
Set the frame size to be used.
virtual PBoolean SetColourFormat(const PString &colourFormat)
Set the colour format to be used.
virtual PBoolean SetChannel(int channelNumber)
Set the video channel to be used on the device.
virtual PBoolean GetFrameSizeLimits(unsigned &minWidth, unsigned &minHeight, unsigned &maxWidth, unsigned &maxHeight)
Get the minimum & maximum size of a frame on the device.
virtual PBoolean SetVideoFormat(VideoFormat videoFormat)
Set the video format to be used.