14#ifndef YARP_FFMPEG_CARRIER_FFMPEGPORTMONITOR_CL_PARAMS_H
15#define YARP_FFMPEG_CARRIER_FFMPEGPORTMONITOR_CL_PARAMS_H
24 #include <libavcodec/avcodec.h>
40 "file.image_compression_ffmpeg",
65 AV_CODEC_ID_MPEG2VIDEO,
87 { AV_CODEC_ID_H264, AV_PIX_FMT_YUV420P },
88 { AV_CODEC_ID_H265, AV_PIX_FMT_YUV420P },
89 { AV_CODEC_ID_MPEG2VIDEO, AV_PIX_FMT_YUV420P }
static const std::vector< std::string > FFMPEGPORTMONITOR_IGNORE_PARAMS
This vector contains all parameters that have to be ignored while parsing command line string.
static const std::string FFMPEGPORTMONITOR_CL_CODEC_KEY
This string is the "key" value for the codec parameter.
static std::map< int, int > FFMPEGPORTMONITOR_CODECPIXELMAP
This structure maps Ffmpeg video codecs with their needed Ffmpeg pixel format code.
static const std::vector< std::string > FFMPEGPORTMONITOR_CL_CODECS
This vector contains the only accepted values for the command line parameter "codec".
static std::map< int, int > FFMPEGPORTMONITOR_PIXELMAP
This structure maps YARP pixel format codec into Ffmpeg pixel format codes.
static const std::vector< int > FFMPEGPORTMONITOR_CODE_CODECS
This vector contains the codec ids corresponding to the codecs of the FFMPEGPORTMONITOR_CL_CODECS vec...