Auxiliary structure defining video parameters. Please refer to FFmpeg documentation for defining text values.
More...
#include <Image_VideoRecorder.hxx>
|
| | Image_VideoParams () |
| | Empty constructor.
|
| void | SetFramerate (const int theNumerator, const int theDenominator) |
| | Setup playback FPS.
|
| void | SetFramerate (const int theValue) |
| | Setup playback FPS. For fixed-fps content, timebase should be 1/framerate and timestamp increments should be identical to 1.
|
Auxiliary structure defining video parameters. Please refer to FFmpeg documentation for defining text values.
◆ Image_VideoParams()
| Image_VideoParams::Image_VideoParams |
( |
| ) |
|
|
inline |
◆ SetFramerate() [1/2]
| void Image_VideoParams::SetFramerate |
( |
const int | theNumerator, |
|
|
const int | theDenominator ) |
|
inline |
◆ SetFramerate() [2/2]
| void Image_VideoParams::SetFramerate |
( |
const int | theValue | ) |
|
|
inline |
Setup playback FPS. For fixed-fps content, timebase should be 1/framerate and timestamp increments should be identical to 1.
◆ Format
[optional] video format (container), if empty - will be determined from the file name
◆ FpsDen
| int Image_VideoParams::FpsDen |
[mandatory] framerate denumerator
◆ FpsNum
| int Image_VideoParams::FpsNum |
[mandatory] framerate numerator
◆ Height
| int Image_VideoParams::Height |
[mandatory] video frame height
◆ PixelFormat
[optional] pixel format, if empty - default codec pixel format will be used
◆ VideoCodec
[optional] codec identifier, if empty - default codec from file format will be used
◆ VideoCodecParams
map of advanced video codec parameters
◆ Width
| int Image_VideoParams::Width |
[mandatory] video frame width
The documentation for this struct was generated from the following file: