areaDetector  3-13
EPICS areaDetector framework
Classes | Macros
ffmpegServer.h File Reference

section License Author: Diamond Light Source, Copyright 2010 More...

#include <epicsTypes.h>
#include <asynStandardInterfaces.h>
#include "NDPluginDriver.h"
#include "nullhttpd.h"
#include "ffmpegCommon.h"

Go to the source code of this file.

Classes

class  ffmpegStream
 Take an array source and compress it and serve it as an mjpeg stream. More...
 

Macros

#define __STDC_CONSTANT_MACROS
 
#define MAX_FFMPEG_STREAMS   64
 maximum number of streams that the http server will host, fairly arbitrary More...
 
#define ffmpegServerQualityString   "FFMPEG_QUALITY" /* JPEG quality (int32 read/write) */
 
#define ffmpegServerFalseColString   "FFMPEG_FALSE_COL" /* False Colour toggle (int32 (enum) read/write)*/
 
#define ffmpegServerHttpPortString   "FFMPEG_HTTP_PORT" /* Http port (int32 read)*/
 
#define ffmpegServerHostString   "FFMPEG_HOST" /* Host string (string read)*/
 
#define ffmpegServerJpgUrlString   "FFMPEG_JPG_URL" /* JPEG Snapshot URL string (string read)*/
 
#define ffmpegServerMjpgUrlString   "FFMPEG_MJPG_URL" /* MJPG Stream URL string (string read)*/
 
#define ffmpegServerClientsString   "FFMPEG_CLIENTS" /* Number of connected clients (int32 read)*/
 
#define ffmpegServerAlwaysOnString   "FFMPEG_ALWAYS_ON" /* Always produce jpeg, even when no-one is listening (int32 read)*/
 
#define ffmpegServerMaxWString   "FFMPEG_MAXW" /* Maximum width of jpg to produce (int32 read/write)*/
 
#define ffmpegServerMaxHString   "FFMPEG_MAXH" /* Maximum height of jpg to produce (int32 read/write)*/
 
#define ffmpegServerSetWString   "FFMPEG_SETW" /* Specify width of jpg, forcing rescale (int32 read/write)*/
 
#define ffmpegServerSetHString   "FFMPEG_SETH" /* Specify height of jpg, forcing rescale (int32 read/write)*/
 
#define FIRST_FFMPEG_SERVER_PARAM   ffmpegServerQuality
 

Detailed Description

section License Author: Diamond Light Source, Copyright 2010

'ffmpegServer' is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

'ffmpegServer' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with 'ffmpegServer'. If not, see http://www.gnu.org/licenses/.

Macro Definition Documentation

◆ __STDC_CONSTANT_MACROS

#define __STDC_CONSTANT_MACROS

◆ ffmpegServerAlwaysOnString

#define ffmpegServerAlwaysOnString   "FFMPEG_ALWAYS_ON" /* Always produce jpeg, even when no-one is listening (int32 read)*/

◆ ffmpegServerClientsString

#define ffmpegServerClientsString   "FFMPEG_CLIENTS" /* Number of connected clients (int32 read)*/

◆ ffmpegServerFalseColString

#define ffmpegServerFalseColString   "FFMPEG_FALSE_COL" /* False Colour toggle (int32 (enum) read/write)*/

◆ ffmpegServerHostString

#define ffmpegServerHostString   "FFMPEG_HOST" /* Host string (string read)*/

◆ ffmpegServerHttpPortString

#define ffmpegServerHttpPortString   "FFMPEG_HTTP_PORT" /* Http port (int32 read)*/

◆ ffmpegServerJpgUrlString

#define ffmpegServerJpgUrlString   "FFMPEG_JPG_URL" /* JPEG Snapshot URL string (string read)*/

◆ ffmpegServerMaxHString

#define ffmpegServerMaxHString   "FFMPEG_MAXH" /* Maximum height of jpg to produce (int32 read/write)*/

◆ ffmpegServerMaxWString

#define ffmpegServerMaxWString   "FFMPEG_MAXW" /* Maximum width of jpg to produce (int32 read/write)*/

◆ ffmpegServerMjpgUrlString

#define ffmpegServerMjpgUrlString   "FFMPEG_MJPG_URL" /* MJPG Stream URL string (string read)*/

◆ ffmpegServerQualityString

#define ffmpegServerQualityString   "FFMPEG_QUALITY" /* JPEG quality (int32 read/write) */

◆ ffmpegServerSetHString

#define ffmpegServerSetHString   "FFMPEG_SETH" /* Specify height of jpg, forcing rescale (int32 read/write)*/

◆ ffmpegServerSetWString

#define ffmpegServerSetWString   "FFMPEG_SETW" /* Specify width of jpg, forcing rescale (int32 read/write)*/

◆ FIRST_FFMPEG_SERVER_PARAM

#define FIRST_FFMPEG_SERVER_PARAM   ffmpegServerQuality

◆ MAX_FFMPEG_STREAMS

#define MAX_FFMPEG_STREAMS   64

maximum number of streams that the http server will host, fairly arbitrary